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=4.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, NullReferenceException, ArgumentNullException, Win32Exception, InvalidEnumArgumentException, InvalidOperationException, ArgumentOutOfRangeException
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, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException
public static void ExitAllFrames()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
Win32Exception,
OutOfMemoryException,
OverflowException,
TimeoutException,
SecurityException,
InvalidCastException,
PlatformNotSupportedException,
NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionOverflowExceptionTimeoutExceptionSecurityExceptionInvalidCastExceptionPlatformNotSupportedExceptionNotSupportedExceptionpublic static Dispatcher FromThread(Thread thread) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionpublic static Dispatcher getCurrentDispatcher() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, InvalidEnumArgumentException, Win32Exception, KeyNotFoundException, OutOfMemoryException, OverflowException, TimeoutException, SecurityException, PlatformNotSupportedException, NotSupportedException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionWin32ExceptionKeyNotFoundExceptionOutOfMemoryExceptionOverflowExceptionTimeoutExceptionSecurityExceptionPlatformNotSupportedExceptionNotSupportedExceptionpublic boolean getHasShutdownFinished()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getHasShutdownStarted()
throws java.lang.Throwable
java.lang.Throwablepublic DispatcherHooks getHooks() throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic 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, OverflowException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, Win32Exception, InvalidCastException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, TimeoutException
java.lang.ThrowableArgumentExceptionOverflowExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionNullReferenceExceptionWin32ExceptionInvalidCastExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionTimeoutExceptionpublic void Invoke(Action callback, DispatcherPriority priority) throws java.lang.Throwable, ArgumentException, OverflowException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, Win32Exception, InvalidCastException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, TimeoutException
java.lang.ThrowableArgumentExceptionOverflowExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionNullReferenceExceptionWin32ExceptionInvalidCastExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionTimeoutExceptionpublic void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, OverflowException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, SecurityException, NullReferenceException, Win32Exception, InvalidCastException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, TimeoutException
java.lang.ThrowableArgumentExceptionOverflowExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionSecurityExceptionNullReferenceExceptionWin32ExceptionInvalidCastExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionTimeoutExceptionpublic void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, OverflowException, SecurityException, NullReferenceException, Win32Exception, NotSupportedException, InvalidCastException, MulticastNotSupportedException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ThreadAbortException, TaskSchedulerException, TaskCanceledException, AggregateException, TimeoutException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionOverflowExceptionSecurityExceptionNullReferenceExceptionWin32ExceptionNotSupportedExceptionInvalidCastExceptionMulticastNotSupportedExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionThreadAbortExceptionTaskSchedulerExceptionTaskCanceledExceptionAggregateExceptionTimeoutExceptionpublic DispatcherOperation InvokeAsync(Action callback) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, InvalidCastException, MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionNotSupportedExceptionInvalidCastExceptionMulticastNotSupportedExceptionpublic DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, NotSupportedException, InvalidCastException, MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionWin32ExceptionNotSupportedExceptionInvalidCastExceptionMulticastNotSupportedExceptionpublic DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException, NullReferenceException, NotSupportedException, OverflowException, Win32Exception, InvalidCastException, MulticastNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionNullReferenceExceptionNotSupportedExceptionOverflowExceptionWin32ExceptionInvalidCastExceptionMulticastNotSupportedExceptionpublic void InvokeShutdown()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
Win32Exception,
InvalidOperationException,
OverflowException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
ArgumentOutOfRangeException,
MissingMethodException,
TargetInvocationException,
TimeoutException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionWin32ExceptionInvalidOperationExceptionOverflowExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionArgumentOutOfRangeExceptionMissingMethodExceptionTargetInvocationExceptionTimeoutExceptionpublic static void PushFrame(DispatcherFrame frame) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, OverflowException, TimeoutException, SecurityException, InvalidCastException, PlatformNotSupportedException, NotSupportedException, UnauthorizedAccessException, IOException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionWin32ExceptionOutOfMemoryExceptionOverflowExceptionTimeoutExceptionSecurityExceptionInvalidCastExceptionPlatformNotSupportedExceptionNotSupportedExceptionUnauthorizedAccessExceptionIOExceptionpublic 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,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidEnumArgumentException,
InvalidOperationException,
Win32Exception,
SecurityException,
NotSupportedException,
MissingMethodException,
TargetInvocationException,
NullReferenceException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidEnumArgumentExceptionInvalidOperationExceptionWin32ExceptionSecurityExceptionNotSupportedExceptionMissingMethodExceptionTargetInvocationExceptionNullReferenceExceptionObjectDisposedExceptionUnauthorizedAccessExceptionIOExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic static void ValidatePriority(DispatcherPriority priority, java.lang.String parameterName) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void VerifyAccess()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
AbandonedMutexException
public static DispatcherPriorityAwaitable Yield() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException
public static DispatcherPriorityAwaitable Yield(DispatcherPriority priority) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentException