C# Class System.Threading.Thread

Inheritance: System.Runtime.ConstrainedExecution.CriticalFinalizerObject, _Thread
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
GetApartmentStateChangeFailedException Exception
GetCompressedStack System.Threading.CompressedStack
Resume void
SetCompressedStack void
Suspend void
TrySetApartmentStateUnchecked bool
VolatileRead System.UIntPtr
VolatileRead sbyte
VolatileRead uint
VolatileRead ulong
VolatileRead ushort
VolatileWrite void
VolatileWrite void
VolatileWrite void
VolatileWrite void

Méthodes publiques

Méthode Description
Abort ( ) : void
Abort ( object stateInfo ) : void
AllocateDataSlot ( ) : System.LocalDataStoreSlot
AllocateNamedDataSlot ( string name ) : System.LocalDataStoreSlot
BeginCriticalRegion ( ) : void
BeginThreadAffinity ( ) : void
DisableComObjectEagerCleanup ( ) : void
EndCriticalRegion ( ) : void
EndThreadAffinity ( ) : void
FreeNamedDataSlot ( string name ) : void
GetApartmentState ( ) : ApartmentState
GetApartmentState ( ) : System.Threading.ApartmentState
GetData ( System slot ) : object
GetDomain ( ) : System.AppDomain
GetDomainID ( ) : int
GetHashCode ( ) : int
GetNamedDataSlot ( string name ) : System.LocalDataStoreSlot
Interrupt ( ) : void
Join ( System timeout ) : bool
Join ( int millisecondsTimeout ) : bool
Join ( ) : void
MemoryBarrier ( ) : void
ResetAbort ( ) : void
SetApartmentState ( System state ) : void
SetData ( System slot, object data ) : void
Sleep ( System timeout ) : void
Sleep ( int millisecondsTimeout ) : void
SpinWait ( int iterations ) : void
Start ( ) : void
Start ( object parameter ) : void
Thread ( System start )
Thread ( System start, int maxStackSize )
TrySetApartmentState ( System state ) : bool
VolatileRead ( System &address ) : System.IntPtr
VolatileRead ( byte &address ) : byte
VolatileRead ( double &address ) : double
VolatileRead ( float &address ) : float
VolatileRead ( int &address ) : int
VolatileRead ( long &address ) : long
VolatileRead ( object &address ) : object
VolatileRead ( short &address ) : short
VolatileWrite ( System &address, System value ) : void
VolatileWrite ( byte &address, byte value ) : void
VolatileWrite ( double &address, double value ) : void
VolatileWrite ( float &address, float value ) : void
VolatileWrite ( int &address, int value ) : void
VolatileWrite ( long &address, long value ) : void
VolatileWrite ( object &address, object value ) : void
VolatileWrite ( short &address, short value ) : void
Yield ( ) : bool

Private Methods

Méthode Description
GetApartmentStateChangeFailedException ( ) : Exception
GetCompressedStack ( ) : System.Threading.CompressedStack
Resume ( ) : void
SetCompressedStack ( System stack ) : void
Suspend ( ) : void
TrySetApartmentStateUnchecked ( ApartmentState state ) : bool
VolatileRead ( System &address ) : System.UIntPtr
VolatileRead ( sbyte &address ) : sbyte
VolatileRead ( uint &address ) : uint
VolatileRead ( ulong &address ) : ulong
VolatileRead ( ushort &address ) : ushort
VolatileWrite ( sbyte &address, sbyte value ) : void
VolatileWrite ( uint &address, uint value ) : void
VolatileWrite ( ulong &address, ulong value ) : void
VolatileWrite ( ushort &address, ushort value ) : void

Method Details

Abort() public méthode

public Abort ( ) : void
Résultat void

Abort() public méthode

public Abort ( object stateInfo ) : void
stateInfo object
Résultat void

AllocateDataSlot() public static méthode

public static AllocateDataSlot ( ) : System.LocalDataStoreSlot
Résultat System.LocalDataStoreSlot

AllocateNamedDataSlot() public static méthode

public static AllocateNamedDataSlot ( string name ) : System.LocalDataStoreSlot
name string
Résultat System.LocalDataStoreSlot

BeginCriticalRegion() public static méthode

public static BeginCriticalRegion ( ) : void
Résultat void

BeginThreadAffinity() public static méthode

public static BeginThreadAffinity ( ) : void
Résultat void

DisableComObjectEagerCleanup() public méthode

public DisableComObjectEagerCleanup ( ) : void
Résultat void

EndCriticalRegion() public static méthode

public static EndCriticalRegion ( ) : void
Résultat void

EndThreadAffinity() public static méthode

public static EndThreadAffinity ( ) : void
Résultat void

FreeNamedDataSlot() public static méthode

public static FreeNamedDataSlot ( string name ) : void
name string
Résultat void

GetApartmentState() public méthode

public GetApartmentState ( ) : ApartmentState
Résultat ApartmentState

GetApartmentState() public méthode

public GetApartmentState ( ) : System.Threading.ApartmentState
Résultat System.Threading.ApartmentState

GetData() public static méthode

public static GetData ( System slot ) : object
slot System
Résultat object

GetDomain() public static méthode

public static GetDomain ( ) : System.AppDomain
Résultat System.AppDomain

GetDomainID() public static méthode

public static GetDomainID ( ) : int
Résultat int

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetNamedDataSlot() public static méthode

public static GetNamedDataSlot ( string name ) : System.LocalDataStoreSlot
name string
Résultat System.LocalDataStoreSlot

Interrupt() public méthode

public Interrupt ( ) : void
Résultat void

Join() public méthode

public Join ( System timeout ) : bool
timeout System
Résultat bool

Join() public méthode

public Join ( int millisecondsTimeout ) : bool
millisecondsTimeout int
Résultat bool

Join() public méthode

public Join ( ) : void
Résultat void

MemoryBarrier() public static méthode

public static MemoryBarrier ( ) : void
Résultat void

ResetAbort() public static méthode

public static ResetAbort ( ) : void
Résultat void

SetApartmentState() public méthode

public SetApartmentState ( System state ) : void
state System
Résultat void

SetData() public static méthode

public static SetData ( System slot, object data ) : void
slot System
data object
Résultat void

Sleep() public static méthode

public static Sleep ( System timeout ) : void
timeout System
Résultat void

Sleep() public static méthode

public static Sleep ( int millisecondsTimeout ) : void
millisecondsTimeout int
Résultat void

SpinWait() public static méthode

public static SpinWait ( int iterations ) : void
iterations int
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Start() public méthode

public Start ( object parameter ) : void
parameter object
Résultat void

Thread() public méthode

public Thread ( System start )
start System

Thread() public méthode

public Thread ( System start, int maxStackSize )
start System
maxStackSize int

TrySetApartmentState() public méthode

public TrySetApartmentState ( System state ) : bool
state System
Résultat bool

VolatileRead() public static méthode

public static VolatileRead ( System &address ) : System.IntPtr
address System
Résultat System.IntPtr

VolatileRead() public static méthode

public static VolatileRead ( byte &address ) : byte
address byte
Résultat byte

VolatileRead() public static méthode

public static VolatileRead ( double &address ) : double
address double
Résultat double

VolatileRead() public static méthode

public static VolatileRead ( float &address ) : float
address float
Résultat float

VolatileRead() public static méthode

public static VolatileRead ( int &address ) : int
address int
Résultat int

VolatileRead() public static méthode

public static VolatileRead ( long &address ) : long
address long
Résultat long

VolatileRead() public static méthode

public static VolatileRead ( object &address ) : object
address object
Résultat object

VolatileRead() public static méthode

public static VolatileRead ( short &address ) : short
address short
Résultat short

VolatileWrite() public static méthode

public static VolatileWrite ( System &address, System value ) : void
address System
value System
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( byte &address, byte value ) : void
address byte
value byte
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( double &address, double value ) : void
address double
value double
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( float &address, float value ) : void
address float
value float
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( int &address, int value ) : void
address int
value int
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( long &address, long value ) : void
address long
value long
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( object &address, object value ) : void
address object
value object
Résultat void

VolatileWrite() public static méthode

public static VolatileWrite ( short &address, short value ) : void
address short
value short
Résultat void

Yield() public static méthode

public static Yield ( ) : bool
Résultat bool