Duplicating changes made in dotnet/docs PR #3464 (#532)

pull/534/head
Ron Petrusha 2017-10-20 15:30:41 -07:00 committed by GitHub
parent 031541a6ab
commit b2ecf3bbe0
1 changed files with 6 additions and 6 deletions

View File

@ -11,13 +11,13 @@ Available
### Change Description
The .NET Framework 4.5 adds new overloads to Dispatcher.Invoke that include a
parameter of type @System.Action. When existing code is recompiled, compilers
may resolve calls to Dispatcher.Invoke methods that have a @System.Delegate
parameter as calls to Dispatcher.Invoke methods with an @System.Action
parameter. If a call to a Dispatcher.Invoke overload with a @System.Delegate
The .NET Framework 4.5 adds new overloads to <xref:System.Windows.Threading.Dispatcher.Invoke%2A?displayProperty=nameWithType> that include a
parameter of type <xref:System.Action>. When existing code is recompiled, compilers
may resolve calls to Dispatcher.Invoke methods that have a <xref:System.Delegate>
parameter as calls to Dispatcher.Invoke methods with an <xref:System.Action>
parameter. If a call to a Dispatcher.Invoke overload with a <xref:System.Delegate>
parameter is resolved as a call to a Dispatcher.Invoke overload with an
@System.Action parameter, the following differences in behavior may occur:
<xref:System.Action> parameter, the following differences in behavior may occur:
- If an exception occurs, the <xref:System.Windows.Threading.Dispatcher.UnhandledExceptionFilter> and <xref:System.Windows.Threading.Dispatcher.UnhandledException> events are not raised. Instead, exceptions are handled by the <xref:System.Threading.Tasks.TaskScheduler.UnobservedTaskException?displayProperty=name> event.
- Calls to some members, such as <xref:System.Windows.Threading.DispatcherOperation.Result>, block until the operation has completed.