public class EventWaitHandle extends WaitHandle
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Threading.EventWaitHandle
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=8.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.EventWaitHandle
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
EventWaitHandle() |
EventWaitHandle(boolean initialState,
EventResetMode mode)
Initializes a new instance by invoking the .NET constructor.
|
EventWaitHandle(boolean initialState,
EventResetMode mode,
java.lang.String name)
Initializes a new instance by invoking the .NET constructor.
|
EventWaitHandle(boolean initialState,
EventResetMode mode,
java.lang.String name,
boolean createdNew)
Initializes a new instance by invoking the .NET constructor.
|
EventWaitHandle(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static EventWaitHandle |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into EventWaitHandle, a cast assert is made to check if types are compatible. |
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 EventWaitHandle |
OpenExisting(java.lang.String name)
Invokes the .NET member OpenExisting.
|
boolean |
Reset()
Invokes the .NET member Reset.
|
boolean |
Set()
Invokes the .NET member Set.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
static boolean |
TryOpenExisting(java.lang.String name,
JCORefOut<EventWaitHandle> result)
Invokes the .NET member TryOpenExisting.
|
close, Close, Dispose, getSafeWaitHandle, setSafeWaitHandle, SignalAndWait, SignalAndWait, SignalAndWait, WaitAll, WaitAll, WaitAll, WaitAll, WaitAll, WaitAny, WaitAny, WaitAny, WaitAny, WaitAny, WaitOne, WaitOne, WaitOne, WaitOne, WaitOneGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public EventWaitHandle()
throws java.lang.Throwable
java.lang.Throwablepublic EventWaitHandle(boolean initialState,
EventResetMode mode)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
WaitHandleCannotBeOpenedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
initialState - the argument of type booleanmode - the argument of type EventResetModejava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic EventWaitHandle(boolean initialState,
EventResetMode mode,
java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
WaitHandleCannotBeOpenedException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
initialState - the argument of type booleanmode - the argument of type EventResetModename - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic EventWaitHandle(boolean initialState,
EventResetMode mode,
java.lang.String name,
boolean createdNew)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
IndexOutOfRangeException,
RankException,
CultureNotFoundException,
ObjectDisposedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
WaitHandleCannotBeOpenedException,
FormatException,
OutOfMemoryException
initialState - the argument of type booleanmode - the argument of type EventResetModename - the argument of type java.lang.StringcreatedNew - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - 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 itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic EventWaitHandle(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 EventWaitHandle cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into EventWaitHandle, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEventWaitHandle instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class WaitHandlepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class WaitHandlepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class WaitHandlenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class WaitHandlepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class WaitHandlepublic static EventWaitHandle OpenExisting(java.lang.String name) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OutOfMemoryException, WaitHandleCannotBeOpenedException, DirectoryNotFoundException
name - 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 itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itWaitHandleCannotBeOpenedException - if the .NET member raises itDirectoryNotFoundException - if the .NET member raises itpublic boolean Reset()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic boolean Set()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class WaitHandleinstance - the new underlying objectpublic static boolean TryOpenExisting(java.lang.String name,
JCORefOut<EventWaitHandle> result)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
MethodAccessException,
MissingMethodException,
MemberAccessException,
TargetInvocationException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException,
OutOfMemoryException
name - the argument of type java.lang.Stringresult - the argument of type JCORefOut<EventWaitHandle>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 itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises it