The UISynchronizationContext type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| EnsureNonUIThread |
Ensure the current code is not running on the UI thread.
| |
| EnsureUIThread |
Ensure the current code is running on the UI thread.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Invoke |
Invokes the specified action synchronously on the UI thread.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Current |
Gets the current UI synchronization context.
| |
| IsUIThread |
Gets a value indicating whether the current code is running on the UI thread.
|