public class Dispatcher extends NetObject
.NET documentation at https://learn.microsoft.com/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=8.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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addShutdownFinished(EventHandler handler)
Invokes the .NET member addShutdownFinished.
|
void |
addShutdownStarted(EventHandler handler)
Invokes the .NET member addShutdownStarted.
|
void |
addUnhandledException(DispatcherUnhandledExceptionEventHandler handler)
Invokes the .NET member addUnhandledException.
|
void |
addUnhandledExceptionFilter(DispatcherUnhandledExceptionFilterEventHandler handler)
Invokes the .NET member addUnhandledExceptionFilter.
|
void |
BeginInvokeShutdown(DispatcherPriority priority)
Invokes the .NET member BeginInvokeShutdown.
|
static Dispatcher |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Dispatcher, a cast assert is made to check if types are compatible. |
boolean |
CheckAccess()
Invokes the .NET member CheckAccess.
|
DispatcherProcessingDisabled |
DisableProcessing()
Invokes the .NET member DisableProcessing.
|
static void |
ExitAllFrames()
Invokes the .NET member ExitAllFrames.
|
static Dispatcher |
FromThread(Thread thread)
Invokes the .NET member FromThread.
|
static Dispatcher |
getCurrentDispatcher()
Gets the value of the .NET property CurrentDispatcher.
|
boolean |
getHasShutdownFinished()
Gets the value of the .NET property HasShutdownFinished.
|
boolean |
getHasShutdownStarted()
Gets the value of the .NET property HasShutdownStarted.
|
DispatcherHooks |
getHooks()
Gets the value of the .NET property Hooks.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
Thread |
getThread()
Gets the value of the .NET property Thread.
|
void |
Invoke(Action callback)
Invokes the .NET member Invoke.
|
void |
Invoke(Action callback,
DispatcherPriority priority)
Invokes the .NET member Invoke.
|
void |
Invoke(Action callback,
DispatcherPriority priority,
CancellationToken cancellationToken)
Invokes the .NET member Invoke.
|
void |
Invoke(Action callback,
DispatcherPriority priority,
CancellationToken cancellationToken,
TimeSpan timeout)
Invokes the .NET member Invoke.
|
DispatcherOperation |
InvokeAsync(Action callback)
Invokes the .NET member InvokeAsync.
|
DispatcherOperation |
InvokeAsync(Action callback,
DispatcherPriority priority)
Invokes the .NET member InvokeAsync.
|
DispatcherOperation |
InvokeAsync(Action callback,
DispatcherPriority priority,
CancellationToken cancellationToken)
Invokes the .NET member InvokeAsync.
|
<TResult extends IJCOBridgeReflected> |
InvokeAsync(Func_1 callback)
Invokes the .NET member InvokeAsync.
|
<TResult extends IJCOBridgeReflected> |
InvokeAsync(Func_1 callback,
DispatcherPriority priority)
Invokes the .NET member InvokeAsync.
|
<TResult extends IJCOBridgeReflected> |
InvokeAsync(Func_1 callback,
DispatcherPriority priority,
CancellationToken cancellationToken)
Invokes the .NET member InvokeAsync.
|
void |
InvokeShutdown()
Invokes the .NET member InvokeShutdown.
|
static void |
PushFrame(DispatcherFrame frame)
Invokes the .NET member PushFrame.
|
void |
removeShutdownFinished(EventHandler handler)
Invokes the .NET member removeShutdownFinished.
|
void |
removeShutdownStarted(EventHandler handler)
Invokes the .NET member removeShutdownStarted.
|
void |
removeUnhandledException(DispatcherUnhandledExceptionEventHandler handler)
Invokes the .NET member removeUnhandledException.
|
void |
removeUnhandledExceptionFilter(DispatcherUnhandledExceptionFilterEventHandler handler)
Invokes the .NET member removeUnhandledExceptionFilter.
|
static void |
Run()
Invokes the .NET member Run.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static void |
ValidatePriority(DispatcherPriority priority,
java.lang.String parameterName)
Invokes the .NET member ValidatePriority.
|
void |
VerifyAccess()
Invokes the .NET member VerifyAccess.
|
static DispatcherPriorityAwaitable |
Yield()
Invokes the .NET member Yield.
|
static DispatcherPriorityAwaitable |
Yield(DispatcherPriority priority)
Invokes the .NET member Yield.
|
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
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addShutdownFinished(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addShutdownStarted(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addUnhandledException(DispatcherUnhandledExceptionEventHandler handler) throws java.lang.Throwable
handler - the argument of type DispatcherUnhandledExceptionEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addUnhandledExceptionFilter(DispatcherUnhandledExceptionFilterEventHandler handler) throws java.lang.Throwable
handler - the argument of type DispatcherUnhandledExceptionFilterEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void BeginInvokeShutdown(DispatcherPriority priority) throws java.lang.Throwable, ArgumentException, Win32Exception, InvalidEnumArgumentException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException
priority - the argument of type DispatcherPriorityjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic 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.Throwable - if the call fails in the bridge or in the CLRpublic DispatcherProcessingDisabled DisableProcessing() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic static void ExitAllFrames()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
Win32Exception,
TimeoutException,
InvalidCastException,
CultureNotFoundException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itTimeoutException - if the .NET member raises itInvalidCastException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static Dispatcher FromThread(Thread thread) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
thread - the argument of type Threadjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static Dispatcher getCurrentDispatcher() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, InvalidEnumArgumentException, Win32Exception, OverflowException, TimeoutException, CultureNotFoundException, SecurityException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itOverflowException - if the .NET member raises itTimeoutException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSecurityException - if the .NET member raises itpublic boolean getHasShutdownFinished()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getHasShutdownStarted()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic DispatcherHooks getHooks() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic Thread getThread() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Invoke(Action callback) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OverflowException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, InvalidCastException, MulticastNotSupportedException, NullReferenceException, WaitHandleCannotBeOpenedException, AbandonedMutexException, TaskCanceledException, AggregateException, TimeoutException
callback - the argument of type Actionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itTimeoutException - if the .NET member raises itpublic void Invoke(Action callback, DispatcherPriority priority) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OverflowException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, InvalidCastException, MulticastNotSupportedException, NullReferenceException, WaitHandleCannotBeOpenedException, AbandonedMutexException, TaskCanceledException, AggregateException, TimeoutException
callback - the argument of type Actionpriority - the argument of type DispatcherPriorityjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itTimeoutException - if the .NET member raises itpublic void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OverflowException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, InvalidCastException, MulticastNotSupportedException, NullReferenceException, WaitHandleCannotBeOpenedException, AbandonedMutexException, TaskCanceledException, AggregateException, TimeoutException
callback - the argument of type Actionpriority - the argument of type DispatcherPrioritycancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itTimeoutException - if the .NET member raises itpublic void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OverflowException, Win32Exception, OutOfMemoryException, InvalidCastException, MulticastNotSupportedException, NullReferenceException, WaitHandleCannotBeOpenedException, AbandonedMutexException, TaskSchedulerException, TaskCanceledException, AggregateException, TimeoutException
callback - the argument of type Actionpriority - the argument of type DispatcherPrioritycancellationToken - the argument of type CancellationTokentimeout - the argument of type TimeSpanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itTaskSchedulerException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itTimeoutException - if the .NET member raises itpublic DispatcherOperation InvokeAsync(Action callback) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, InvalidCastException, MulticastNotSupportedException
callback - the argument of type Actionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, InvalidCastException, MulticastNotSupportedException
callback - the argument of type Actionpriority - the argument of type DispatcherPriorityjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OverflowException, Win32Exception, OutOfMemoryException, InvalidCastException, MulticastNotSupportedException
callback - the argument of type Actionpriority - the argument of type DispatcherPrioritycancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic <TResult extends IJCOBridgeReflected> DispatcherOperation_1 InvokeAsync(Func_1 callback) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, InvalidCastException, MulticastNotSupportedException
TResult - the type of the generic argument TResultcallback - the argument of type Func_1java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic <TResult extends IJCOBridgeReflected> DispatcherOperation_1 InvokeAsync(Func_1 callback, DispatcherPriority priority) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, Win32Exception, OutOfMemoryException, InvalidCastException, MulticastNotSupportedException
TResult - the type of the generic argument TResultcallback - the argument of type Func_1priority - the argument of type DispatcherPriorityjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic <TResult extends IJCOBridgeReflected> DispatcherOperation_1 InvokeAsync(Func_1 callback, DispatcherPriority priority, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, OverflowException, Win32Exception, OutOfMemoryException, InvalidCastException, MulticastNotSupportedException
TResult - the type of the generic argument TResultcallback - the argument of type Func_1priority - the argument of type DispatcherPrioritycancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic void InvokeShutdown()
throws java.lang.Throwable,
ArgumentException,
Win32Exception,
ArgumentNullException,
InvalidOperationException,
OverflowException,
PlatformNotSupportedException,
ObjectDisposedException,
ArgumentOutOfRangeException,
AbandonedMutexException,
TimeoutException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOverflowException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itTimeoutException - if the .NET member raises itpublic static void PushFrame(DispatcherFrame frame) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidEnumArgumentException, Win32Exception, TimeoutException, InvalidCastException, OutOfMemoryException, IndexOutOfRangeException, SecurityException, IOException, UnauthorizedAccessException, NullReferenceException
frame - the argument of type DispatcherFramejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itTimeoutException - if the .NET member raises itInvalidCastException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void removeShutdownFinished(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeShutdownStarted(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeUnhandledException(DispatcherUnhandledExceptionEventHandler handler) throws java.lang.Throwable
handler - the argument of type DispatcherUnhandledExceptionEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeUnhandledExceptionFilter(DispatcherUnhandledExceptionFilterEventHandler handler) throws java.lang.Throwable
handler - the argument of type DispatcherUnhandledExceptionFilterEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itSecurityException - if the .NET member raises itIOException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itNullReferenceException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static void ValidatePriority(DispatcherPriority priority, java.lang.String parameterName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ArrayTypeMismatchException, InvalidOperationException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
priority - the argument of type DispatcherPriorityparameterName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void VerifyAccess()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static DispatcherPriorityAwaitable Yield() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static DispatcherPriorityAwaitable Yield(DispatcherPriority priority) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, InvalidEnumArgumentException, RankException, ArrayTypeMismatchException
priority - the argument of type DispatcherPriorityjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises it