public class Dispatcher extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Threading.Dispatcher
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: WindowsBase, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: WindowsBase
|
static java.lang.String |
className
Qualified class name: System.Windows.Threading.Dispatcher
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Dispatcher() |
Dispatcher(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Dispatcher()
throws java.lang.Throwable
java.lang.Throwablepublic Dispatcher(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addShutdownFinished(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addShutdownStarted(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addUnhandledException(DispatcherUnhandledExceptionEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addUnhandledExceptionFilter(DispatcherUnhandledExceptionFilterEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void BeginInvokeShutdown(DispatcherPriority priority) throws java.lang.Throwable, ArgumentException, Win32Exception, InvalidEnumArgumentException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException
public static Dispatcher cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Dispatcher, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDispatcher instancejava.lang.Throwable - in case of error during cast operationpublic boolean CheckAccess()
throws java.lang.Throwable
java.lang.Throwablepublic DispatcherProcessingDisabled DisableProcessing() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
public static void ExitAllFrames()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
Win32Exception,
TimeoutException,
NullReferenceException,
InvalidCastException,
CultureNotFoundException,
OutOfMemoryException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionWin32ExceptionTimeoutExceptionNullReferenceExceptionInvalidCastExceptionCultureNotFoundExceptionOutOfMemoryExceptionpublic static Dispatcher FromThread(Thread thread) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static Dispatcher getCurrentDispatcher() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, InvalidEnumArgumentException, Win32Exception, TimeoutException, NullReferenceException, CultureNotFoundException, ArgumentNullException, SecurityException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionWin32ExceptionTimeoutExceptionNullReferenceExceptionCultureNotFoundExceptionArgumentNullExceptionSecurityExceptionpublic boolean getHasShutdownFinished()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getHasShutdownStarted()
throws java.lang.Throwable
java.lang.Throwablepublic DispatcherHooks getHooks() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic Thread getThread() throws java.lang.Throwable
java.lang.Throwablepublic void Invoke(Action callback) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, InvalidCastException, NullReferenceException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, AbandonedMutexException, TaskCanceledException, AggregateException, TimeoutException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidCastExceptionNullReferenceExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionTaskCanceledExceptionAggregateExceptionTimeoutExceptionpublic void Invoke(Action callback, DispatcherPriority priority) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, InvalidCastException, NullReferenceException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, AbandonedMutexException, TaskCanceledException, AggregateException, TimeoutException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidCastExceptionNullReferenceExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionTaskCanceledExceptionAggregateExceptionTimeoutExceptionpublic void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, InvalidCastException, NullReferenceException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, AbandonedMutexException, TaskCanceledException, AggregateException, TimeoutException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionInvalidCastExceptionNullReferenceExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionTaskCanceledExceptionAggregateExceptionTimeoutExceptionpublic void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, InvalidCastException, NullReferenceException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, TimeoutException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionInvalidCastExceptionNullReferenceExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionTimeoutExceptionpublic DispatcherOperation InvokeAsync(Action callback) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, InvalidCastException, NullReferenceException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionInvalidCastExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, InvalidCastException, NullReferenceException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionInvalidCastExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OverflowException, Win32Exception, OutOfMemoryException, InvalidCastException, NullReferenceException, MulticastNotSupportedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionOverflowExceptionWin32ExceptionOutOfMemoryExceptionInvalidCastExceptionNullReferenceExceptionMulticastNotSupportedExceptionpublic void InvokeShutdown()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ObjectDisposedException,
AbandonedMutexException,
TimeoutException
public static void PushFrame(DispatcherFrame frame) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, TimeoutException, NullReferenceException, InvalidCastException, CultureNotFoundException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, IOException, UnauthorizedAccessException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionInvalidEnumArgumentExceptionWin32ExceptionTimeoutExceptionNullReferenceExceptionInvalidCastExceptionCultureNotFoundExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionpublic void removeShutdownFinished(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeShutdownStarted(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeUnhandledException(DispatcherUnhandledExceptionEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeUnhandledExceptionFilter(DispatcherUnhandledExceptionFilterEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static void Run()
throws java.lang.Throwable,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
NotSupportedException,
ObjectDisposedException,
SecurityException,
IOException,
UnauthorizedAccessException,
NullReferenceException
java.lang.ThrowableArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionNotSupportedExceptionObjectDisposedExceptionSecurityExceptionIOExceptionUnauthorizedAccessExceptionNullReferenceExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void ValidatePriority(DispatcherPriority priority, java.lang.String parameterName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
public void VerifyAccess()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException
public static DispatcherPriorityAwaitable Yield() throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException
public static DispatcherPriorityAwaitable Yield(DispatcherPriority priority) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionNotSupportedExceptionFormatExceptionInvalidEnumArgumentExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException