Compartilhar via


CustomSyncContext.GetSynchronizationContext Method

Retrieves custom synchronization context.

Namespace: Microsoft.Uii.HostedApplicationToolkit.AutomationHosting
Assembly: Microsoft.Uii.HostedApplicationToolkit.AutomationHosting (in Microsoft.Uii.HostedApplicationToolkit.AutomationHosting.dll)

Usage

'Usage
Dim returnValue As SynchronizationContext

returnValue = CustomSyncContext.GetSynchronizationContext

Syntax

'Declaration
Public Shared Function GetSynchronizationContext As SynchronizationContext
public static SynchronizationContext GetSynchronizationContext ()
public:
static SynchronizationContext^ GetSynchronizationContext ()
public static SynchronizationContext GetSynchronizationContext ()
public static function GetSynchronizationContext () : SynchronizationContext

Return Value

Type: SynchronizationContext.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

CustomSyncContext Class
CustomSyncContext Members
Microsoft.Uii.HostedApplicationToolkit.AutomationHosting Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.