SynchronizationContext Property
Collapse the table of content
Expand the table of content

AsyncOperationManager.SynchronizationContext Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the SynchronizationContext for the asynchronous operation.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

'Declaration
Public Shared Property SynchronizationContext As SynchronizationContext

Property Value

Type: System.Threading.SynchronizationContext
The SynchronizationContext for the asynchronous operation.

The default implementation is the free-threaded implementation.

A thread should set the SynchronizationContext property to Nothing (Nothing in Visual Basic) to release the free-threaded factory when it is finished, or else its factory will never be disposed.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft