Package system.threading
Class Thread
- java.lang.Object
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Thread extends CriticalFinalizerObject
The base .NET class managing System.Threading.Thread, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Thread
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.StringassemblyShortNameAssembly name: System.Private.CoreLibstatic java.lang.StringclassNameQualified class name: System.Threading.Threadstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Thread()Thread(java.lang.Object instance)Internal constructor.Thread(ParameterizedThreadStart start)Thread(ParameterizedThreadStart start, int maxStackSize)Thread(ThreadStart start)Thread(ThreadStart start, int maxStackSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidAbort()voidAbort(NetObject stateInfo)static LocalDataStoreSlotAllocateDataSlot()static LocalDataStoreSlotAllocateNamedDataSlot(java.lang.String name)static voidBeginCriticalRegion()static voidBeginThreadAffinity()static Threadcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoThread, a cast assert is made to check if types are compatible.voidDisableComObjectEagerCleanup()static voidEndCriticalRegion()static voidEndThreadAffinity()static voidFreeNamedDataSlot(java.lang.String name)ApartmentStategetApartmentState()ApartmentStateGetApartmentState()CompressedStackGetCompressedStack()CultureInfogetCurrentCulture()static IPrincipalgetCurrentPrincipal()static intGetCurrentProcessorId()static ThreadgetCurrentThread()CultureInfogetCurrentUICulture()static NetObjectGetData(LocalDataStoreSlot slot)static AppDomainGetDomain()static intGetDomainID()ExecutionContextgetExecutionContext()booleangetIsAlive()booleangetIsBackground()booleangetIsThreadPoolThread()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 TypeintgetManagedThreadId()java.lang.StringgetName()static LocalDataStoreSlotGetNamedDataSlot(java.lang.String name)ThreadPrioritygetPriority()ThreadStategetThreadState()voidInterrupt()voidJoin()booleanJoin(int millisecondsTimeout)booleanJoin(TimeSpan timeout)static voidMemoryBarrier()static voidResetAbort()voidResume()voidsetApartmentState(ApartmentState ApartmentState)voidSetApartmentState(ApartmentState state)voidSetCompressedStack(CompressedStack stack)voidsetCurrentCulture(CultureInfo CurrentCulture)static voidsetCurrentPrincipal(IPrincipal CurrentPrincipal)voidsetCurrentUICulture(CultureInfo CurrentUICulture)static voidSetData(LocalDataStoreSlot slot, NetObject data)voidsetIsBackground(boolean IsBackground)voidsetIsThreadPoolThread(boolean IsThreadPoolThread)voidsetJCOInstance(JCObject instance)voidsetName(java.lang.String Name)voidsetPriority(ThreadPriority Priority)static voidSleep(int millisecondsTimeout)static voidSleep(TimeSpan timeout)static voidSpinWait(int iterations)voidStart()voidStart(NetObject parameter)voidSuspend()booleanTrySetApartmentState(ApartmentState state)voidUnsafeStart()voidUnsafeStart(NetObject parameter)static voidVolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicInteger> address, int value)static voidVolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicLong> address, long value)static voidVolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Byte>> address, byte value)static voidVolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Double>> address, double value)static voidVolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> address, short value)static voidVolatileWrite(JCORefOut<NetObject> address, NetObject value)static voidVolatileWrite(JCORefOut<SByte> address, SByte value)static voidVolatileWrite(JCORefOut<Single> address, Single value)static voidVolatileWrite(JCORefOut<UInt16> address, UInt16 value)static voidVolatileWrite(JCORefOut<UInt32> address, UInt32 value)static voidVolatileWrite(JCORefOut<UInt64> address, UInt64 value)static booleanYield()
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.CoreLib- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Threading.Thread- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Thread
public Thread(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Thread
public Thread() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Thread
public Thread(ParameterizedThreadStart start, int maxStackSize) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
Thread
public Thread(ParameterizedThreadStart start) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
Thread
public Thread(ThreadStart start, int maxStackSize) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
Thread
public Thread(ThreadStart start) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classCriticalFinalizerObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classCriticalFinalizerObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classCriticalFinalizerObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classCriticalFinalizerObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classCriticalFinalizerObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classCriticalFinalizerObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Thread cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoThread, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Threadinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Join
public boolean Join(int millisecondsTimeout) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Join
public boolean Join(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
TrySetApartmentState
public boolean TrySetApartmentState(ApartmentState state) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
Yield
public static boolean Yield() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetCurrentProcessorId
public static int GetCurrentProcessorId() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetDomainID
public static int GetDomainID() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
GetDomain
public static AppDomain GetDomain() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException
-
AllocateDataSlot
public static LocalDataStoreSlot AllocateDataSlot() throws java.lang.Throwable, LockRecursionException, AbandonedMutexException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, RankException, ArgumentException, ArrayTypeMismatchException, InvalidOperationException, SynchronizationLockException
-
AllocateNamedDataSlot
public static LocalDataStoreSlot AllocateNamedDataSlot(java.lang.String name) throws java.lang.Throwable, LockRecursionException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, PlatformNotSupportedException, SynchronizationLockException, ArgumentNullException, NullReferenceException, NotSupportedException
-
GetNamedDataSlot
public static LocalDataStoreSlot GetNamedDataSlot(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, ArgumentNullException, InvalidOperationException, LockRecursionException, SynchronizationLockException
-
GetData
public static NetObject GetData(LocalDataStoreSlot slot) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, InvalidOperationException, SynchronizationLockException
-
GetApartmentState
public ApartmentState GetApartmentState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCompressedStack
public CompressedStack GetCompressedStack() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
Abort
public void Abort() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
Abort
public void Abort(NetObject stateInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
BeginCriticalRegion
public static void BeginCriticalRegion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
BeginThreadAffinity
public static void BeginThreadAffinity() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
DisableComObjectEagerCleanup
public void DisableComObjectEagerCleanup() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
EndCriticalRegion
public static void EndCriticalRegion() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
EndThreadAffinity
public static void EndThreadAffinity() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
FreeNamedDataSlot
public static void FreeNamedDataSlot(java.lang.String name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, NullReferenceException, NotSupportedException, ArgumentNullException, InvalidOperationException
-
Interrupt
public void Interrupt() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
Join
public void Join() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
MemoryBarrier
public static void MemoryBarrier() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ResetAbort
public static void ResetAbort() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
Resume
public void Resume() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
SetApartmentState
public void SetApartmentState(ApartmentState state) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
SetCompressedStack
public void SetCompressedStack(CompressedStack stack) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
SetData
public static void SetData(LocalDataStoreSlot slot, NetObject data) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ObjectDisposedException, PlatformNotSupportedException, LockRecursionException, AbandonedMutexException, SynchronizationLockException
-
Sleep
public static void Sleep(int millisecondsTimeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException
-
Sleep
public static void Sleep(TimeSpan timeout) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
-
SpinWait
public static void SpinWait(int iterations) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Start
public void Start() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeException
-
Start
public void Start(NetObject parameter) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
Suspend
public void Suspend() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
-
UnsafeStart
public void UnsafeStart() throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeException
-
UnsafeStart
public void UnsafeStart(NetObject parameter) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Byte>> address, byte value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Double>> address, double value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> address, short value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicInteger> address, int value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicLong> address, long value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<SByte> address, SByte value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<Single> address, Single value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<NetObject> address, NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<UInt16> address, UInt16 value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<UInt32> address, UInt32 value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
VolatileWrite
public static void VolatileWrite(JCORefOut<UInt64> address, UInt64 value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
getIsAlive
public boolean getIsAlive() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsBackground
public boolean getIsBackground() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsBackground
public void setIsBackground(boolean IsBackground) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
getIsThreadPoolThread
public boolean getIsThreadPoolThread() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsThreadPoolThread
public void setIsThreadPoolThread(boolean IsThreadPoolThread) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getManagedThreadId
public int getManagedThreadId() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getCurrentCulture
public CultureInfo getCurrentCulture() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
setCurrentCulture
public void setCurrentCulture(CultureInfo CurrentCulture) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException
-
getCurrentUICulture
public CultureInfo getCurrentUICulture() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
-
setCurrentUICulture
public void setCurrentUICulture(CultureInfo CurrentUICulture) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, NullReferenceException
-
getCurrentPrincipal
public static IPrincipal getCurrentPrincipal() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, TypeLoadException, IndexOutOfRangeException, FormatException, FileLoadException, FileNotFoundException
-
setCurrentPrincipal
public static void setCurrentPrincipal(IPrincipal CurrentPrincipal) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, NullReferenceException
-
getName
public java.lang.String getName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setName
public void setName(java.lang.String Name) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getApartmentState
public ApartmentState getApartmentState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setApartmentState
public void setApartmentState(ApartmentState ApartmentState) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
getExecutionContext
public ExecutionContext getExecutionContext() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCurrentThread
public static Thread getCurrentThread() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPriority
public ThreadPriority getPriority() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPriority
public void setPriority(ThreadPriority Priority) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getThreadState
public ThreadState getThreadState() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-