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.String
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798estatic java.lang.String
assemblyShortName
Assembly name: System.Private.CoreLibstatic java.lang.String
className
Qualified class name: System.Threading.Threadstatic JCType
classType
The 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 void
Abort()
void
Abort(NetObject stateInfo)
static LocalDataStoreSlot
AllocateDataSlot()
static LocalDataStoreSlot
AllocateNamedDataSlot(java.lang.String name)
static void
BeginCriticalRegion()
static void
BeginThreadAffinity()
static Thread
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoThread
, a cast assert is made to check if types are compatible.void
DisableComObjectEagerCleanup()
static void
EndCriticalRegion()
static void
EndThreadAffinity()
static void
FreeNamedDataSlot(java.lang.String name)
ApartmentState
getApartmentState()
ApartmentState
GetApartmentState()
CompressedStack
GetCompressedStack()
CultureInfo
getCurrentCulture()
static IPrincipal
getCurrentPrincipal()
static int
GetCurrentProcessorId()
static Thread
getCurrentThread()
CultureInfo
getCurrentUICulture()
static NetObject
GetData(LocalDataStoreSlot slot)
static AppDomain
GetDomain()
static int
GetDomainID()
ExecutionContext
getExecutionContext()
boolean
getIsAlive()
boolean
getIsBackground()
boolean
getIsThreadPoolThread()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getManagedThreadId()
java.lang.String
getName()
static LocalDataStoreSlot
GetNamedDataSlot(java.lang.String name)
ThreadPriority
getPriority()
ThreadState
getThreadState()
void
Interrupt()
void
Join()
boolean
Join(int millisecondsTimeout)
boolean
Join(TimeSpan timeout)
static void
MemoryBarrier()
static void
ResetAbort()
void
Resume()
void
setApartmentState(ApartmentState ApartmentState)
void
SetApartmentState(ApartmentState state)
void
SetCompressedStack(CompressedStack stack)
void
setCurrentCulture(CultureInfo CurrentCulture)
static void
setCurrentPrincipal(IPrincipal CurrentPrincipal)
void
setCurrentUICulture(CultureInfo CurrentUICulture)
static void
SetData(LocalDataStoreSlot slot, NetObject data)
void
setIsBackground(boolean IsBackground)
void
setIsThreadPoolThread(boolean IsThreadPoolThread)
void
setJCOInstance(JCObject instance)
void
setName(java.lang.String Name)
void
setPriority(ThreadPriority Priority)
static void
Sleep(int millisecondsTimeout)
static void
Sleep(TimeSpan timeout)
static void
SpinWait(int iterations)
void
Start()
void
Start(NetObject parameter)
void
Suspend()
boolean
TrySetApartmentState(ApartmentState state)
void
UnsafeStart()
void
UnsafeStart(NetObject parameter)
static void
VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicInteger> address, int value)
static void
VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicLong> address, long value)
static void
VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Byte>> address, byte value)
static void
VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Double>> address, double value)
static void
VolatileWrite(JCORefOut<java.util.concurrent.atomic.AtomicReference<java.lang.Short>> address, short value)
static void
VolatileWrite(JCORefOut<NetObject> address, NetObject value)
static void
VolatileWrite(JCORefOut<SByte> address, SByte value)
static void
VolatileWrite(JCORefOut<Single> address, Single value)
static void
VolatileWrite(JCORefOut<UInt16> address, UInt16 value)
static void
VolatileWrite(JCORefOut<UInt32> address, UInt32 value)
static void
VolatileWrite(JCORefOut<UInt64> address, UInt64 value)
static boolean
Yield()
-
-
-
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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classCriticalFinalizerObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classCriticalFinalizerObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classCriticalFinalizerObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classCriticalFinalizerObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classCriticalFinalizerObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classCriticalFinalizerObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Thread cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoThread
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Thread
instance- 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.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
-
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.Throwable
NotSupportedException
ArgumentException
InvalidOperationException
ArgumentOutOfRangeException
-
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
-
-