Table of Contents

Class SynchronizationContext

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SynchronizationContext subclass used by AlterNET UI.

public class SynchronizationContext : SynchronizationContext
Inheritance
SynchronizationContext

Constructors

SynchronizationContext()

Initializes a new instance of the SynchronizationContext class.

Properties

AutoInstall

Determines whether we install the SynchronizationContext when we create a control, or when we start a message loop. Default: true.

Methods

CreateCopy()

Copies the synchronization context.

InstallIfNeeded()

Instantiate and install a op sync context, and save off the old one.

Post(SendOrPostCallback, object?)

Dispatches an asynchronous message to a synchronization context.

Send(SendOrPostCallback, object?)

Dispatches a synchronous message to a synchronization context

Uninstall()

Uninstalls the currently installed SynchronizationContext and replaces it with the previously installed context.