ISynchronized
|
The ISynchronizedOperation type exposes the following members.
Name | Description | |
---|---|---|
IsPending | Gets a value to indiate whether the synchronized operation has an additional operation that is pending execution after the currently running action has completed. | |
IsRunning | Gets a value to indicate whether the synchronized operation is currently executing its action. |
Name | Description | |
---|---|---|
Run | Executes the action on this thread or marks the operation as pending if the operation is already running. | |
RunOnce | Executes the action on this thread or marks the operation as pending if the operation is already running. | |
RunOnceAsync | Executes the action on another thread or marks the operation as pending if the operation is already running. | |
TryRun | Attempts to execute the action on this thread. Does nothing if the operation is already running. | |
TryRunOnce | Attempts to execute the action on this thread. Does nothing if the operation is already running. | |
TryRunOnceAsync | Attempts to execute the action on another thread. Does nothing if the operation is already running. |