Méthode | Description | |
---|---|---|
AsyncSynchronizationContext ( |
Initializes a new instance of the AsyncSynchronizationContext class.
|
|
CreateCopy ( ) : |
When overridden in a derived class, creates a copy of the synchronization context.
|
|
OperationCompleted ( ) : void |
When overridden in a derived class, responds to the notification that an operation has completed.
|
|
OperationStarted ( ) : void |
When overridden in a derived class, responds to the notification that an operation has started.
|
|
Post ( SendOrPostCallback d, object state ) : void |
When overridden in a derived class, dispatches an asynchronous message to a synchronization context.
|
|
Register ( ) : |
Registration method. Call this from OnLaunched and OnActivated inside the App.xaml.cs
|
|
RegisterForFrame ( System.Windows.Controls.Frame rootFrame, |
Links the synchronization context to the specified frame and ensures that it is still in use after each navigation event
|
|
Send ( SendOrPostCallback d, object state ) : void |
When overridden in a derived class, dispatches a synchronous message to a synchronization context.
|
Méthode | Description | |
---|---|---|
EnsureContext ( |
||
WrapCallback ( SendOrPostCallback sendOrPostCallback ) : SendOrPostCallback |
public AsyncSynchronizationContext ( |
||
syncContext | The synchronize context. | |
Résultat | System |
public CreateCopy ( ) : |
||
Résultat |
public Post ( SendOrPostCallback d, object state ) : void | ||
d | SendOrPostCallback | The |
state | object | The object passed to the delegate. |
Résultat | void |
public static Register ( ) : |
||
Résultat |
public static RegisterForFrame ( System.Windows.Controls.Frame rootFrame, |
||
rootFrame | System.Windows.Controls.Frame | The root frame. |
handler | The handler. | |
Résultat |
public Send ( SendOrPostCallback d, object state ) : void | ||
d | SendOrPostCallback | The |
state | object | The object passed to the delegate. |
Résultat | void |