public class ThreadPool extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Threading.ThreadPool
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: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Threading.ThreadPool
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ThreadPool() |
ThreadPool(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
BindHandle(SafeHandle osHandle)
Invokes the .NET member BindHandle.
|
static ThreadPool |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ThreadPool, a cast assert is made to check if types are compatible. |
static void |
GetAvailableThreads(JCORefOut<java.util.concurrent.atomic.AtomicInteger> workerThreads,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> completionPortThreads)
Invokes the .NET member GetAvailableThreads.
|
static long |
getCompletedWorkItemCount()
Gets the value of the .NET property CompletedWorkItemCount.
|
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. |
static void |
GetMaxThreads(JCORefOut<java.util.concurrent.atomic.AtomicInteger> workerThreads,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> completionPortThreads)
Invokes the .NET member GetMaxThreads.
|
static void |
GetMinThreads(JCORefOut<java.util.concurrent.atomic.AtomicInteger> workerThreads,
JCORefOut<java.util.concurrent.atomic.AtomicInteger> completionPortThreads)
Invokes the .NET member GetMinThreads.
|
static long |
getPendingWorkItemCount()
Gets the value of the .NET property PendingWorkItemCount.
|
static int |
getThreadCount()
Gets the value of the .NET property ThreadCount.
|
static <TState extends IJCOBridgeReflected> |
QueueUserWorkItem(Action_1 callBack,
TState state,
boolean preferLocal)
Invokes the .NET member QueueUserWorkItem.
|
static boolean |
QueueUserWorkItem(WaitCallback callBack)
Invokes the .NET member QueueUserWorkItem.
|
static boolean |
QueueUserWorkItem(WaitCallback callBack,
NetObject state)
Invokes the .NET member QueueUserWorkItem.
|
static RegisteredWaitHandle |
RegisterWaitForSingleObject(WaitHandle waitObject,
WaitOrTimerCallback callBack,
NetObject state,
int millisecondsTimeOutInterval,
boolean executeOnlyOnce)
Invokes the .NET member RegisterWaitForSingleObject.
|
static RegisteredWaitHandle |
RegisterWaitForSingleObject(WaitHandle waitObject,
WaitOrTimerCallback callBack,
NetObject state,
long millisecondsTimeOutInterval,
boolean executeOnlyOnce)
Invokes the .NET member RegisterWaitForSingleObject.
|
static RegisteredWaitHandle |
RegisterWaitForSingleObject(WaitHandle waitObject,
WaitOrTimerCallback callBack,
NetObject state,
TimeSpan timeout,
boolean executeOnlyOnce)
Invokes the .NET member RegisterWaitForSingleObject.
|
static RegisteredWaitHandle |
RegisterWaitForSingleObject(WaitHandle waitObject,
WaitOrTimerCallback callBack,
NetObject state,
UInt32 millisecondsTimeOutInterval,
boolean executeOnlyOnce)
Invokes the .NET member RegisterWaitForSingleObject.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static boolean |
SetMaxThreads(int workerThreads,
int completionPortThreads)
Invokes the .NET member SetMaxThreads.
|
static boolean |
SetMinThreads(int workerThreads,
int completionPortThreads)
Invokes the .NET member SetMinThreads.
|
static <TState extends IJCOBridgeReflected> |
UnsafeQueueUserWorkItem(Action_1 callBack,
TState state,
boolean preferLocal)
Invokes the .NET member UnsafeQueueUserWorkItem.
|
static boolean |
UnsafeQueueUserWorkItem(IThreadPoolWorkItem callBack,
boolean preferLocal)
Invokes the .NET member UnsafeQueueUserWorkItem.
|
static boolean |
UnsafeQueueUserWorkItem(WaitCallback callBack,
NetObject state)
Invokes the .NET member UnsafeQueueUserWorkItem.
|
static RegisteredWaitHandle |
UnsafeRegisterWaitForSingleObject(WaitHandle waitObject,
WaitOrTimerCallback callBack,
NetObject state,
int millisecondsTimeOutInterval,
boolean executeOnlyOnce)
Invokes the .NET member UnsafeRegisterWaitForSingleObject.
|
static RegisteredWaitHandle |
UnsafeRegisterWaitForSingleObject(WaitHandle waitObject,
WaitOrTimerCallback callBack,
NetObject state,
long millisecondsTimeOutInterval,
boolean executeOnlyOnce)
Invokes the .NET member UnsafeRegisterWaitForSingleObject.
|
static RegisteredWaitHandle |
UnsafeRegisterWaitForSingleObject(WaitHandle waitObject,
WaitOrTimerCallback callBack,
NetObject state,
TimeSpan timeout,
boolean executeOnlyOnce)
Invokes the .NET member UnsafeRegisterWaitForSingleObject.
|
static RegisteredWaitHandle |
UnsafeRegisterWaitForSingleObject(WaitHandle waitObject,
WaitOrTimerCallback callBack,
NetObject state,
UInt32 millisecondsTimeOutInterval,
boolean executeOnlyOnce)
Invokes the .NET member UnsafeRegisterWaitForSingleObject.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public ThreadPool()
throws java.lang.Throwable
java.lang.Throwablepublic ThreadPool(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 static boolean BindHandle(SafeHandle osHandle) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, ObjectDisposedException, OutOfMemoryException, ApplicationException, PlatformNotSupportedException
osHandle - the argument of type SafeHandlejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itApplicationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static ThreadPool cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ThreadPool, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedThreadPool instancejava.lang.Throwable - in case of error during cast operationpublic static void GetAvailableThreads(JCORefOut<java.util.concurrent.atomic.AtomicInteger> workerThreads, JCORefOut<java.util.concurrent.atomic.AtomicInteger> completionPortThreads) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
workerThreads - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>completionPortThreads - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>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 itPlatformNotSupportedException - if the .NET member raises itpublic static long getCompletedWorkItemCount()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic 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 static void GetMaxThreads(JCORefOut<java.util.concurrent.atomic.AtomicInteger> workerThreads, JCORefOut<java.util.concurrent.atomic.AtomicInteger> completionPortThreads) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
workerThreads - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>completionPortThreads - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static void GetMinThreads(JCORefOut<java.util.concurrent.atomic.AtomicInteger> workerThreads, JCORefOut<java.util.concurrent.atomic.AtomicInteger> completionPortThreads) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
workerThreads - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>completionPortThreads - the argument of type JCORefOut<java.util.concurrent.atomic.AtomicInteger>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static long getPendingWorkItemCount()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
LockRecursionException,
SynchronizationLockException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static int getThreadCount()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
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 itPlatformNotSupportedException - if the .NET member raises itpublic static <TState extends IJCOBridgeReflected> boolean QueueUserWorkItem(Action_1 callBack, TState state, boolean preferLocal) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, LockRecursionException, SynchronizationLockException, OutOfMemoryException
TState - the type of the generic argument TStatecallBack - the argument of type Action_1state - the argument of type TStatepreferLocal - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - 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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static boolean QueueUserWorkItem(WaitCallback callBack) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, EventSourceException, LockRecursionException, SynchronizationLockException, OutOfMemoryException
callBack - the argument of type WaitCallbackjava.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 itArgumentNullException - if the .NET member raises itEventSourceException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static boolean QueueUserWorkItem(WaitCallback callBack, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, LockRecursionException, SynchronizationLockException, OutOfMemoryException
callBack - the argument of type WaitCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - 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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, NetObject state, int millisecondsTimeOutInterval, boolean executeOnlyOnce) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, WaitHandleCannotBeOpenedException
waitObject - the argument of type WaitHandlecallBack - the argument of type WaitOrTimerCallbackstate - the argument of type NetObjectmillisecondsTimeOutInterval - the argument of type intexecuteOnlyOnce - the argument of type booleanjava.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 itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itpublic static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, NetObject state, long millisecondsTimeOutInterval, boolean executeOnlyOnce) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, WaitHandleCannotBeOpenedException
waitObject - the argument of type WaitHandlecallBack - the argument of type WaitOrTimerCallbackstate - the argument of type NetObjectmillisecondsTimeOutInterval - the argument of type longexecuteOnlyOnce - the argument of type booleanjava.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 itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itpublic static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, NetObject state, TimeSpan timeout, boolean executeOnlyOnce) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, WaitHandleCannotBeOpenedException
waitObject - the argument of type WaitHandlecallBack - the argument of type WaitOrTimerCallbackstate - the argument of type NetObjecttimeout - the argument of type TimeSpanexecuteOnlyOnce - the argument of type booleanjava.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 itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itpublic static RegisteredWaitHandle RegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, NetObject state, UInt32 millisecondsTimeOutInterval, boolean executeOnlyOnce) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, WaitHandleCannotBeOpenedException
waitObject - the argument of type WaitHandlecallBack - the argument of type WaitOrTimerCallbackstate - the argument of type NetObjectmillisecondsTimeOutInterval - the argument of type UInt32executeOnlyOnce - the argument of type booleanjava.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 itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic static boolean SetMaxThreads(int workerThreads,
int completionPortThreads)
throws java.lang.Throwable,
PlatformNotSupportedException
workerThreads - the argument of type intcompletionPortThreads - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itpublic static boolean SetMinThreads(int workerThreads,
int completionPortThreads)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentException,
ObjectDisposedException,
OutOfMemoryException,
ArgumentOutOfRangeException,
AbandonedMutexException
workerThreads - the argument of type intcompletionPortThreads - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itpublic static <TState extends IJCOBridgeReflected> boolean UnsafeQueueUserWorkItem(Action_1 callBack, TState state, boolean preferLocal) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, LockRecursionException, SynchronizationLockException, OutOfMemoryException
TState - the type of the generic argument TStatecallBack - the argument of type Action_1state - the argument of type TStatepreferLocal - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - 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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static boolean UnsafeQueueUserWorkItem(IThreadPoolWorkItem callBack, boolean preferLocal) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, LockRecursionException, SynchronizationLockException, OutOfMemoryException
callBack - the argument of type IThreadPoolWorkItempreferLocal - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - 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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static boolean UnsafeQueueUserWorkItem(WaitCallback callBack, NetObject state) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, EventSourceException, LockRecursionException, SynchronizationLockException, OutOfMemoryException
callBack - the argument of type WaitCallbackstate - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - 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 itArgumentNullException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itEventSourceException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, NetObject state, int millisecondsTimeOutInterval, boolean executeOnlyOnce) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, WaitHandleCannotBeOpenedException
waitObject - the argument of type WaitHandlecallBack - the argument of type WaitOrTimerCallbackstate - the argument of type NetObjectmillisecondsTimeOutInterval - the argument of type intexecuteOnlyOnce - the argument of type booleanjava.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 itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itpublic static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, NetObject state, long millisecondsTimeOutInterval, boolean executeOnlyOnce) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, WaitHandleCannotBeOpenedException
waitObject - the argument of type WaitHandlecallBack - the argument of type WaitOrTimerCallbackstate - the argument of type NetObjectmillisecondsTimeOutInterval - the argument of type longexecuteOnlyOnce - the argument of type booleanjava.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 itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itpublic static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, NetObject state, TimeSpan timeout, boolean executeOnlyOnce) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, WaitHandleCannotBeOpenedException
waitObject - the argument of type WaitHandlecallBack - the argument of type WaitOrTimerCallbackstate - the argument of type NetObjecttimeout - the argument of type TimeSpanexecuteOnlyOnce - the argument of type booleanjava.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 itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itpublic static RegisteredWaitHandle UnsafeRegisterWaitForSingleObject(WaitHandle waitObject, WaitOrTimerCallback callBack, NetObject state, UInt32 millisecondsTimeOutInterval, boolean executeOnlyOnce) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException, LockRecursionException, SynchronizationLockException, OutOfMemoryException, WaitHandleCannotBeOpenedException
waitObject - the argument of type WaitHandlecallBack - the argument of type WaitOrTimerCallbackstate - the argument of type NetObjectmillisecondsTimeOutInterval - the argument of type UInt32executeOnlyOnce - the argument of type booleanjava.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 itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises it