Package system.threading
Class ManualResetEventSlim
- java.lang.Object
- 
- org.mases.jcobridge.netreflection.NetObject
- 
- system.threading.ManualResetEventSlim
 
 
- 
- All Implemented Interfaces:
- java.lang.AutoCloseable,- IJCOBridgeReflected
 
 public class ManualResetEventSlim extends NetObject implements java.lang.AutoCloseable The base .NET class managing System.Threading.ManualResetEventSlim, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Threading.ManualResetEventSlim Powered by JCOBridge: more info at https://www.jcobridge.com - Author:
- MASES s.r.l https://masesgroup.com
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.Threading.ManualResetEventSlimstatic JCTypeclassTypeThe type managed from JCOBridge.
 - 
Constructor SummaryConstructors Constructor Description ManualResetEventSlim()ManualResetEventSlim(boolean initialState)ManualResetEventSlim(boolean initialState, int spinCount)ManualResetEventSlim(java.lang.Object instance)Internal constructor.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManualResetEventSlimcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoManualResetEventSlim, a cast assert is made to check if types are compatible.voidclose()voidDispose()booleangetIsSet()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintgetSpinCount()WaitHandlegetWaitHandle()voidReset()voidSet()voidsetIsSet(boolean IsSet)voidsetJCOInstance(JCObject instance)voidsetSpinCount(int SpinCount)voidWait()booleanWait(int millisecondsTimeout)booleanWait(int millisecondsTimeout, CancellationToken cancellationToken)voidWait(CancellationToken cancellationToken)booleanWait(TimeSpan timeout)booleanWait(TimeSpan timeout, CancellationToken cancellationToken)
 
- 
- 
- 
Field Detail- 
assemblyFullNamepublic static final java.lang.String assemblyFullName Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
 
 - 
assemblyShortNamepublic static final java.lang.String assemblyShortName Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
 
 - 
classNamepublic static final java.lang.String className Qualified class name: System.Threading.ManualResetEventSlim- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
ManualResetEventSlimpublic ManualResetEventSlim(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
- java.lang.Throwable
 
 - 
ManualResetEventSlimpublic ManualResetEventSlim() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
ManualResetEventSlimpublic ManualResetEventSlim(boolean initialState, int spinCount) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
 - 
ManualResetEventSlimpublic ManualResetEventSlim(boolean initialState) throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 
- 
 - 
Method Detail- 
getJCOAssemblyNamepublic java.lang.String getJCOAssemblyName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
- getJCOAssemblyNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOAssemblyNamein class- NetObject
- Returns:
- A Stringrepresenting the Fullname of reflected Assembly
 
 - 
getJCOClassNamepublic java.lang.String getJCOClassName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
- getJCOClassNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOClassNamein class- NetObject
- Returns:
- A Stringrepresenting the Fullname of reflected Class
 
 - 
getJCOObjectNamepublic java.lang.String getJCOObjectName() Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
- getJCOObjectNamein interface- IJCOBridgeReflected
- Overrides:
- getJCOObjectNamein class- NetObject
- Returns:
- A Stringrepresenting the name used to allocated the object in CLR context
 
 - 
getJCOInstancepublic java.lang.Object getJCOInstance() Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
- getJCOInstancein interface- IJCOBridgeReflected
- Overrides:
- getJCOInstancein class- NetObject
- Returns:
- An Objectrepresenting the CLR instance of the instantiated Class
 
 - 
setJCOInstancepublic void setJCOInstance(JCObject instance) - Overrides:
- setJCOInstancein class- NetObject
 
 - 
getJCOTypepublic JCType getJCOType() Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
- getJCOTypein interface- IJCOBridgeReflected
- Overrides:
- getJCOTypein class- NetObject
- Returns:
- A JCTyperepresenting the CLR Type of the instantiated Class
 
 - 
castpublic static ManualResetEventSlim cast(IJCOBridgeReflected from) throws java.lang.Throwable Try to cast theIJCOBridgeReflectedinstance intoManualResetEventSlim, a cast assert is made to check if types are compatible.- Parameters:
- from-- IJCOBridgeReflectedinstance to be casted
- Returns:
- ManualResetEventSliminstance
- Throws:
- java.lang.Throwable- in case of error during cast operation
 
 - 
Waitpublic boolean Wait(int millisecondsTimeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, OperationCanceledException
 - 
Waitpublic boolean Wait(int millisecondsTimeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, OperationCanceledException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException
 - 
Waitpublic boolean Wait(TimeSpan timeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OperationCanceledException - Throws:
- java.lang.Throwable
- ArgumentException
- ArgumentOutOfRangeException
- ArgumentNullException
- InvalidOperationException
- PlatformNotSupportedException
- ArrayTypeMismatchException
- NotSupportedException
- ObjectDisposedException
- RankException
- IndexOutOfRangeException
- FormatException
- OperationCanceledException
 
 - 
Waitpublic boolean Wait(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OperationCanceledException - Throws:
- java.lang.Throwable
- ArgumentException
- ArgumentOutOfRangeException
- ArgumentNullException
- InvalidOperationException
- PlatformNotSupportedException
- ArrayTypeMismatchException
- NotSupportedException
- ObjectDisposedException
- RankException
- IndexOutOfRangeException
- FormatException
- OperationCanceledException
 
 - 
Disposepublic void Dispose() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
 - 
Resetpublic void Reset() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException
 - 
Setpublic void Set() throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException- Throws:
- java.lang.Throwable
- ArgumentOutOfRangeException
- PlatformNotSupportedException
- ObjectDisposedException
- InvalidOperationException
- OutOfMemoryException
 
 - 
Waitpublic void Wait() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, OperationCanceledException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException
 - 
Waitpublic void Wait(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, OperationCanceledException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException 
 - 
closepublic void close() throws java.lang.Exception- Specified by:
- closein interface- java.lang.AutoCloseable
- Throws:
- java.lang.Exception
 
 - 
getIsSetpublic boolean getIsSet() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
setIsSetpublic void setIsSet(boolean IsSet) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException
 - 
getSpinCountpublic int getSpinCount() throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
setSpinCountpublic void setSpinCount(int SpinCount) throws java.lang.Throwable- Throws:
- java.lang.Throwable
 
 - 
getWaitHandlepublic WaitHandle getWaitHandle() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, MissingMethodException, TargetInvocationException, WaitHandleCannotBeOpenedException 
 
- 
 
-