RingDotNetfor Ring

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

NameTypeAccessIn Ring
ThreadThreadreado.Thread
HasShutdownStartedboolreado.HasShutdownStarted
HasShutdownFinishedboolreado.HasShutdownFinished
HooksDispatcherHooksreado.Hooks
CurrentDispatcherDispatcherread · statico.CurrentDispatcher

Methods

MethodRing call.NET overloads
BeginInvokeBeginInvoke([ :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)
BeginInvokeShutdownBeginInvokeShutdown(p1)void BeginInvokeShutdown(DispatcherPriority priority)
CheckAccesscallMethod("CheckAccess",[])bool CheckAccess()
DisableProcessingcallMethod("DisableProcessing",[])DispatcherProcessingDisabled DisableProcessing()
ExitAllFramescallMethod("ExitAllFrames",[])static void ExitAllFrames()
FromThreadFromThread(p1)static Dispatcher FromThread(Thread thread)
InvokeInvoke(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)
InvokeAsyncInvokeAsync(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)
InvokeShutdowncallMethod("InvokeShutdown",[])void InvokeShutdown()
PushFramePushFrame(p1)static void PushFrame(DispatcherFrame frame)
RuncallMethod("Run",[])static void Run()
ValidatePriorityValidatePriority(p1,p2)static void ValidatePriority(DispatcherPriority priority, string parameterName)
VerifyAccesscallMethod("VerifyAccess",[])void VerifyAccess()
YieldYield(NULL)
Yield(value)
Yield([ :priority = … ])
static DispatcherPriorityAwaitable Yield()
static DispatcherPriorityAwaitable Yield(DispatcherPriority priority)

Events

EventHandler typeIn Ring
ShutdownStartedEventHandlero.setShutdownStartedEvent(code) · o.clearShutdownStartedEvent()
ShutdownFinishedEventHandlero.setShutdownFinishedEvent(code) · o.clearShutdownFinishedEvent()
UnhandledExceptionFilterDispatcherUnhandledExceptionFilterEventHandlero.setUnhandledExceptionFilterEvent(code) · o.clearUnhandledExceptionFilterEvent()
UnhandledExceptionDispatcherUnhandledExceptionEventHandlero.setUnhandledExceptionEvent(code) · o.clearUnhandledExceptionEvent()
DispatcherEventArgs class · extends EventArgs

System.Windows.Threading.DispatcherEventArgs · assembly WindowsBase

Properties and fields

NameTypeAccessIn Ring
DispatcherDispatcherreado.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

NameTypeAccessIn Ring
Continueboolread, writeo.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

NameTypeAccessIn Ring
DispatcherDispatcherreado.Dispatcher
OperationDispatcherOperationreado.Operation

Members of the base class are inherited.

DispatcherHooks class sealed

System.Windows.Threading.DispatcherHooks · assembly WindowsBase

Events

EventHandler typeIn Ring
DispatcherInactiveEventHandlero.setDispatcherInactiveEvent(code) · o.clearDispatcherInactiveEvent()
OperationPostedDispatcherHookEventHandlero.setOperationPostedEvent(code) · o.clearOperationPostedEvent()
OperationStartedDispatcherHookEventHandlero.setOperationStartedEvent(code) · o.clearOperationStartedEvent()
OperationCompletedDispatcherHookEventHandlero.setOperationCompletedEvent(code) · o.clearOperationCompletedEvent()
OperationPriorityChangedDispatcherHookEventHandlero.setOperationPriorityChangedEvent(code) · o.clearOperationPriorityChangedEvent()
OperationAbortedDispatcherHookEventHandlero.setOperationAbortedEvent(code) · o.clearOperationAbortedEvent()
DispatcherObject class abstract

System.Windows.Threading.DispatcherObject · assembly WindowsBase

Properties and fields

NameTypeAccessIn Ring
DispatcherDispatcherreado.Dispatcher

Methods

MethodRing call.NET overloads
CheckAccesscallMethod("CheckAccess",[])bool CheckAccess()
VerifyAccesscallMethod("VerifyAccess",[])void VerifyAccess()
DispatcherOperation class

System.Windows.Threading.DispatcherOperation · assembly WindowsBase

Properties and fields

NameTypeAccessIn Ring
DispatcherDispatcherreado.Dispatcher
PriorityDispatcherPriorityread, writeo.Priority o.Priority = v
StatusDispatcherOperationStatusreado.Status
TaskTaskreado.Task
Resultobjectreado.Result

Methods

MethodRing call.NET overloads
AbortcallMethod("Abort",[])bool Abort()
GetAwaitercallMethod("GetAwaiter",[])TaskAwaiter GetAwaiter()
WaitWait(NULL)
Wait(value)
Wait([ :timeout = … ])
DispatcherOperationStatus Wait()
DispatcherOperationStatus Wait(TimeSpan timeout)

Events

EventHandler typeIn Ring
AbortedEventHandlero.setAbortedEvent(code) · o.clearAbortedEvent()
CompletedEventHandlero.setCompletedEvent(code) · o.clearCompletedEvent()
DispatcherOperation1 class · extends DispatcherOperation

System.Windows.Threading.DispatcherOperation`1 · assembly WindowsBase

Properties and fields

NameTypeAccessIn Ring
TaskTask<TResult>reado.getTask()
ResultTResultreado.getResult()

Members of the base class are inherited.

DispatcherPriorityAwaitable struct

System.Windows.Threading.DispatcherPriorityAwaitable · assembly WindowsBase

Methods

MethodRing call.NET overloads
GetAwaitercallMethod("GetAwaiter",[])DispatcherPriorityAwaiter GetAwaiter()
DispatcherPriorityAwaiter struct

System.Windows.Threading.DispatcherPriorityAwaiter · assembly WindowsBase

Implements: INotifyCompletion

Properties and fields

NameTypeAccessIn Ring
IsCompletedboolreado.IsCompleted

Methods

MethodRing call.NET overloads
GetResultcallMethod("GetResult",[])void GetResult()
OnCompletedOnCompleted(p1)void OnCompleted(Action continuation)
DispatcherProcessingDisabled struct

System.Windows.Threading.DispatcherProcessingDisabled · assembly WindowsBase

Implements: IDisposable

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
EqualsEquals(p1)bool Equals(object obj)
GetHashCodecallMethod("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

MethodRing call.NET overloads
CreateCopycallMethod("CreateCopy",[])SynchronizationContext CreateCopy()
PostPost(p1,p2)void Post(SendOrPostCallback d, object state)
SendSend(p1,p2)void Send(SendOrPostCallback d, object state)
WaitWait(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

NameTypeAccessIn Ring
DispatcherDispatcherreado.Dispatcher
IsEnabledboolread, writeo.IsEnabled o.IsEnabled = v
IntervalTimeSpanread, writeo.Interval o.Interval = v
Tagobjectread, writeo.Tag o.Tag = v

Methods

MethodRing call.NET overloads
StartcallMethod("Start",[])void Start()
StopcallMethod("Stop",[])void Stop()

Events

EventHandler typeIn Ring
TickEventHandlero.setTickEvent(code) · o.clearTickEvent()
DispatcherUnhandledExceptionEventArgs class sealed · extends DispatcherEventArgs

System.Windows.Threading.DispatcherUnhandledExceptionEventArgs · assembly WindowsBase

Properties and fields

NameTypeAccessIn Ring
ExceptionExceptionreado.Exception
Handledboolread, writeo.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

NameTypeAccessIn Ring
ExceptionExceptionreado.Exception
RequestCatchboolread, writeo.RequestCatch o.RequestCatch = v

Members of the base class are inherited.