WindowsFormsSynchronizationContext Class

 

Provides a synchronization context for the Windows Forms application model.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

System::Object
  System.Threading::SynchronizationContext
    System.Windows.Forms::WindowsFormsSynchronizationContext

public ref class WindowsFormsSynchronizationContext sealed : SynchronizationContext, 
	IDisposable

NameDescription
System_CAPS_pubmethodWindowsFormsSynchronizationContext()

Initializes a new instance of the WindowsFormsSynchronizationContext class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticAutoInstall

Gets or sets a value indicating whether the WindowsFormsSynchronizationContext is installed when a control is created.

NameDescription
System_CAPS_pubmethodCreateCopy()

Copies the synchronization context.(Overrides SynchronizationContext::CreateCopy().)

System_CAPS_pubmethodDispose()

Releases all resources used by the WindowsFormsSynchronizationContext.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIsWaitNotificationRequired()

Determines if wait notification is required.(Inherited from SynchronizationContext.)

System_CAPS_pubmethodOperationCompleted()

When overridden in a derived class, responds to the notification that an operation has completed.(Inherited from SynchronizationContext.)

System_CAPS_pubmethodOperationStarted()

When overridden in a derived class, responds to the notification that an operation has started.(Inherited from SynchronizationContext.)

System_CAPS_pubmethodPost(SendOrPostCallback^, Object^)

Dispatches an asynchronous message to a synchronization context.(Overrides SynchronizationContext::Post(SendOrPostCallback^, Object^).)

System_CAPS_pubmethodSend(SendOrPostCallback^, Object^)

Dispatches a synchronous message to a synchronization context(Overrides SynchronizationContext::Send(SendOrPostCallback^, Object^).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticUninstall()

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

System_CAPS_pubmethodWait(array<IntPtr>^, Boolean, Int32)

Waits for any or all the elements in the specified array to receive a signal.(Inherited from SynchronizationContext.)

.NET Framework
Available since 2.0

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

Return to top
Show: