System.Windows.Threading
15 wrapped types. Load them with using { "System.Windows.Threading" }. Click a class to open it.
Dispatcher class sealed
System.Windows.Threading.Dispatcher · assembly WindowsBase
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Thread | Thread | read | o.Thread |
HasShutdownStarted | bool | read | o.HasShutdownStarted |
HasShutdownFinished | bool | read | o.HasShutdownFinished |
Hooks | DispatcherHooks | read | o.Hooks |
CurrentDispatcher | Dispatcher | read · static | o.CurrentDispatcher |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
BeginInvoke | BeginInvoke([ :priority = …, :method = … ])BeginInvoke([ :method = …, :args = … ])BeginInvoke([ :priority = …, :method = …, :arg = … ])BeginInvoke([ :method = …, :priority = …, :args = … ]) | DispatcherOperation BeginInvoke(DispatcherPriority priority, Delegate method)DispatcherOperation BeginInvoke(DispatcherPriority priority, Delegate method, object arg)DispatcherOperation BeginInvoke(DispatcherPriority priority, Delegate method, object arg, object[] args)DispatcherOperation BeginInvoke(Delegate method, object[] args)DispatcherOperation BeginInvoke(Delegate method, DispatcherPriority priority, object[] args) |
BeginInvokeShutdown | BeginInvokeShutdown(p1) | void BeginInvokeShutdown(DispatcherPriority priority) |
CheckAccess | callMethod("CheckAccess",[]) | bool CheckAccess() |
DisableProcessing | callMethod("DisableProcessing",[]) | DispatcherProcessingDisabled DisableProcessing() |
ExitAllFrames | callMethod("ExitAllFrames",[]) | static void ExitAllFrames() |
FromThread | FromThread(p1) | static Dispatcher FromThread(Thread thread) |
Invoke | Invoke(value)Invoke([ :callback = … ])Invoke([ :callback = …, :priority = … ])Invoke([ :priority = …, :method = … ])Invoke([ :method = …, :args = … ]) | void Invoke(Action callback)void Invoke(Action callback, DispatcherPriority priority)void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken)void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)TResult Invoke<TResult>(Func<TResult> callback)TResult Invoke<TResult>(Func<TResult> callback, DispatcherPriority priority)TResult Invoke<TResult>(Func<TResult> callback, DispatcherPriority priority, CancellationToken cancellationToken)TResult Invoke<TResult>(Func<TResult> callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)object Invoke(DispatcherPriority priority, Delegate method)object Invoke(DispatcherPriority priority, Delegate method, object arg)object Invoke(DispatcherPriority priority, Delegate method, object arg, object[] args)object Invoke(DispatcherPriority priority, TimeSpan timeout, Delegate method)object Invoke(DispatcherPriority priority, TimeSpan timeout, Delegate method, object arg)object Invoke(DispatcherPriority priority, TimeSpan timeout, Delegate method, object arg, object[] args)object Invoke(Delegate method, object[] args)object Invoke(Delegate method, DispatcherPriority priority, object[] args)object Invoke(Delegate method, TimeSpan timeout, object[] args)object Invoke(Delegate method, TimeSpan timeout, DispatcherPriority priority, object[] args) |
InvokeAsync | InvokeAsync(value)InvokeAsync([ :callback = … ])InvokeAsync([ :callback = …, :priority = … ])InvokeAsync([ :callback = …, :priority = …, :cancellationToken = … ]) | DispatcherOperation InvokeAsync(Action callback)DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority)DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority, CancellationToken cancellationToken)DispatcherOperation<TResult> InvokeAsync<TResult>(Func<TResult> callback)DispatcherOperation<TResult> InvokeAsync<TResult>(Func<TResult> callback, DispatcherPriority priority)DispatcherOperation<TResult> InvokeAsync<TResult>(Func<TResult> callback, DispatcherPriority priority, CancellationToken cancellationToken) |
InvokeShutdown | callMethod("InvokeShutdown",[]) | void InvokeShutdown() |
PushFrame | PushFrame(p1) | static void PushFrame(DispatcherFrame frame) |
Run | callMethod("Run",[]) | static void Run() |
ValidatePriority | ValidatePriority(p1,p2) | static void ValidatePriority(DispatcherPriority priority, string parameterName) |
VerifyAccess | callMethod("VerifyAccess",[]) | void VerifyAccess() |
Yield | Yield(NULL)Yield(value)Yield([ :priority = … ]) | static DispatcherPriorityAwaitable Yield()static DispatcherPriorityAwaitable Yield(DispatcherPriority priority) |
Events
| Event | Handler type | In Ring |
|---|---|---|
ShutdownStarted | EventHandler | o.setShutdownStartedEvent(code) · o.clearShutdownStartedEvent() |
ShutdownFinished | EventHandler | o.setShutdownFinishedEvent(code) · o.clearShutdownFinishedEvent() |
UnhandledExceptionFilter | DispatcherUnhandledExceptionFilterEventHandler | o.setUnhandledExceptionFilterEvent(code) · o.clearUnhandledExceptionFilterEvent() |
UnhandledException | DispatcherUnhandledExceptionEventHandler | o.setUnhandledExceptionEvent(code) · o.clearUnhandledExceptionEvent() |
DispatcherEventArgs class · extends EventArgs
System.Windows.Threading.DispatcherEventArgs · assembly WindowsBase
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Dispatcher | Dispatcher | read | o.Dispatcher |
Members of the base class are inherited.
DispatcherFrame class · extends DispatcherObject
System.Windows.Threading.DispatcherFrame · assembly WindowsBase
Constructors
new DispatcherFrame() |
new DispatcherFrame(bool exitWhenRequested) |
Ring: new DispatcherFrame(args) uses one constructor; the others are chosen by the parameter names: new DispatcherFrame().@New([ :param = value ]) or dnNew("DispatcherFrame",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Continue | bool | read, write | o.getContinue() o.setContinue(v) |
Members of the base class are inherited.
DispatcherHookEventArgs class sealed · extends EventArgs
System.Windows.Threading.DispatcherHookEventArgs · assembly WindowsBase
Constructors
new DispatcherHookEventArgs(DispatcherOperation operation) |
Ring: new DispatcherHookEventArgs(args) uses one constructor; the others are chosen by the parameter names: new DispatcherHookEventArgs().@New([ :param = value ]) or dnNew("DispatcherHookEventArgs",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Dispatcher | Dispatcher | read | o.Dispatcher |
Operation | DispatcherOperation | read | o.Operation |
Members of the base class are inherited.
DispatcherHooks class sealed
System.Windows.Threading.DispatcherHooks · assembly WindowsBase
Events
| Event | Handler type | In Ring |
|---|---|---|
DispatcherInactive | EventHandler | o.setDispatcherInactiveEvent(code) · o.clearDispatcherInactiveEvent() |
OperationPosted | DispatcherHookEventHandler | o.setOperationPostedEvent(code) · o.clearOperationPostedEvent() |
OperationStarted | DispatcherHookEventHandler | o.setOperationStartedEvent(code) · o.clearOperationStartedEvent() |
OperationCompleted | DispatcherHookEventHandler | o.setOperationCompletedEvent(code) · o.clearOperationCompletedEvent() |
OperationPriorityChanged | DispatcherHookEventHandler | o.setOperationPriorityChangedEvent(code) · o.clearOperationPriorityChangedEvent() |
OperationAborted | DispatcherHookEventHandler | o.setOperationAbortedEvent(code) · o.clearOperationAbortedEvent() |
DispatcherObject class abstract
System.Windows.Threading.DispatcherObject · assembly WindowsBase
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Dispatcher | Dispatcher | read | o.Dispatcher |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CheckAccess | callMethod("CheckAccess",[]) | bool CheckAccess() |
VerifyAccess | callMethod("VerifyAccess",[]) | void VerifyAccess() |
DispatcherOperation class
System.Windows.Threading.DispatcherOperation · assembly WindowsBase
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Dispatcher | Dispatcher | read | o.Dispatcher |
Priority | DispatcherPriority | read, write | o.Priority o.Priority = v |
Status | DispatcherOperationStatus | read | o.Status |
Task | Task | read | o.Task |
Result | object | read | o.Result |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Abort | callMethod("Abort",[]) | bool Abort() |
GetAwaiter | callMethod("GetAwaiter",[]) | TaskAwaiter GetAwaiter() |
Wait | Wait(NULL)Wait(value)Wait([ :timeout = … ]) | DispatcherOperationStatus Wait()DispatcherOperationStatus Wait(TimeSpan timeout) |
Events
| Event | Handler type | In Ring |
|---|---|---|
Aborted | EventHandler | o.setAbortedEvent(code) · o.clearAbortedEvent() |
Completed | EventHandler | o.setCompletedEvent(code) · o.clearCompletedEvent() |
DispatcherOperation1 class · extends DispatcherOperation
System.Windows.Threading.DispatcherOperation`1 · assembly WindowsBase
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Task | Task<TResult> | read | o.getTask() |
Result | TResult | read | o.getResult() |
Members of the base class are inherited.
DispatcherPriorityAwaitable struct
System.Windows.Threading.DispatcherPriorityAwaitable · assembly WindowsBase
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetAwaiter | callMethod("GetAwaiter",[]) | DispatcherPriorityAwaiter GetAwaiter() |
DispatcherPriorityAwaiter struct
System.Windows.Threading.DispatcherPriorityAwaiter · assembly WindowsBase
Implements: INotifyCompletion
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsCompleted | bool | read | o.IsCompleted |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetResult | callMethod("GetResult",[]) | void GetResult() |
OnCompleted | OnCompleted(p1) | void OnCompleted(Action continuation) |
DispatcherProcessingDisabled struct
System.Windows.Threading.DispatcherProcessingDisabled · assembly WindowsBase
Implements: IDisposable
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
Equals | Equals(p1) | bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
DispatcherSynchronizationContext class sealed · extends SynchronizationContext
System.Windows.Threading.DispatcherSynchronizationContext · assembly WindowsBase
Constructors
new DispatcherSynchronizationContext() |
new DispatcherSynchronizationContext(Dispatcher dispatcher) |
new DispatcherSynchronizationContext(Dispatcher dispatcher, DispatcherPriority priority) |
Ring: new DispatcherSynchronizationContext(args) uses one constructor; the others are chosen by the parameter names: new DispatcherSynchronizationContext().@New([ :param = value ]) or dnNew("DispatcherSynchronizationContext",[ :param = value ]).
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateCopy | callMethod("CreateCopy",[]) | SynchronizationContext CreateCopy() |
Post | Post(p1,p2) | void Post(SendOrPostCallback d, object state) |
Send | Send(p1,p2) | void Send(SendOrPostCallback d, object state) |
Wait | Wait(p1,p2,p3) | int Wait(IntPtr[] waitHandles, bool waitAll, int millisecondsTimeout) |
Members of the base class are inherited.
DispatcherTimer class
System.Windows.Threading.DispatcherTimer · assembly WindowsBase
Constructors
new DispatcherTimer() |
new DispatcherTimer(DispatcherPriority priority) |
new DispatcherTimer(DispatcherPriority priority, Dispatcher dispatcher) |
new DispatcherTimer(TimeSpan interval, DispatcherPriority priority, EventHandler callback, Dispatcher dispatcher) |
Ring: new DispatcherTimer(args) uses one constructor; the others are chosen by the parameter names: new DispatcherTimer().@New([ :param = value ]) or dnNew("DispatcherTimer",[ :param = value ]).
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Dispatcher | Dispatcher | read | o.Dispatcher |
IsEnabled | bool | read, write | o.IsEnabled o.IsEnabled = v |
Interval | TimeSpan | read, write | o.Interval o.Interval = v |
Tag | object | read, write | o.Tag o.Tag = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Start | callMethod("Start",[]) | void Start() |
Stop | callMethod("Stop",[]) | void Stop() |
Events
| Event | Handler type | In Ring |
|---|---|---|
Tick | EventHandler | o.setTickEvent(code) · o.clearTickEvent() |
DispatcherUnhandledExceptionEventArgs class sealed · extends DispatcherEventArgs
System.Windows.Threading.DispatcherUnhandledExceptionEventArgs · assembly WindowsBase
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Exception | Exception | read | o.Exception |
Handled | bool | read, write | o.Handled o.Handled = v |
Members of the base class are inherited.
DispatcherUnhandledExceptionFilterEventArgs class sealed · extends DispatcherEventArgs
System.Windows.Threading.DispatcherUnhandledExceptionFilterEventArgs · assembly WindowsBase
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Exception | Exception | read | o.Exception |
RequestCatch | bool | read, write | o.RequestCatch o.RequestCatch = v |
Members of the base class are inherited.