1. 程式人生 > 其它 >H3C鏈路聚合

H3C鏈路聚合

[ClassInterface(ClassInterfaceType.None)]
    [ComDefaultInterface(typeof(_Thread))]
    [ComVisible(true)]
    public sealed class Thread : CriticalFinalizerObject, _Thread
    {
        [SecuritySafeCritical]
        public Thread(ThreadStart start);
        [SecuritySafeCritical]
        public Thread(ParameterizedThreadStart start);
        [SecuritySafeCritical]
        
public Thread(ThreadStart start, int maxStackSize); [SecuritySafeCritical] public Thread(ParameterizedThreadStart start, int maxStackSize); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] [SecuritySafeCritical] ~Thread(); public static
IPrincipal CurrentPrincipal { get; set; } public static Thread CurrentThread { get; } public static Context CurrentContext { get; } public CultureInfo CurrentCulture { get; set; } public CultureInfo CurrentUICulture { get; set; } [Obsolete("The ApartmentState property has been deprecated. Use GetApartmentState, SetApartmentState or TrySetApartmentState instead.
", false)] public ApartmentState ApartmentState { get; set; } public bool IsBackground { get; set; } public bool IsThreadPoolThread { get; } public bool IsAlive { get; } public ThreadPriority Priority { get; set; } public ExecutionContext ExecutionContext { get; } public int ManagedThreadId { get; } public ThreadState ThreadState { get; } public string Name { get; set; } public static LocalDataStoreSlot AllocateDataSlot(); public static LocalDataStoreSlot AllocateNamedDataSlot(string name); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] [SecuritySafeCritical] public static void BeginCriticalRegion(); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] [SecurityCritical] public static void BeginThreadAffinity(); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] [SecuritySafeCritical] public static void EndCriticalRegion(); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] [SecurityCritical] public static void EndThreadAffinity(); public static void FreeNamedDataSlot(string name); public static object GetData(LocalDataStoreSlot slot); [SecuritySafeCritical] public static AppDomain GetDomain(); public static int GetDomainID(); public static LocalDataStoreSlot GetNamedDataSlot(string name); [SecuritySafeCritical] public static void MemoryBarrier(); [SecuritySafeCritical] public static void ResetAbort(); public static void SetData(LocalDataStoreSlot slot, object data); public static void Sleep(TimeSpan timeout); [SecuritySafeCritical] public static void Sleep(int millisecondsTimeout); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] [SecuritySafeCritical] public static void SpinWait(int iterations); [CLSCompliant(false)] public static ulong VolatileRead(ref ulong address); public static double VolatileRead(ref double address); public static object VolatileRead(ref object address); [CLSCompliant(false)] public static UIntPtr VolatileRead(ref UIntPtr address); public static IntPtr VolatileRead(ref IntPtr address); [CLSCompliant(false)] public static uint VolatileRead(ref uint address); [CLSCompliant(false)] public static ushort VolatileRead(ref ushort address); public static float VolatileRead(ref float address); public static long VolatileRead(ref long address); [CLSCompliant(false)] public static sbyte VolatileRead(ref sbyte address); public static byte VolatileRead(ref byte address); public static short VolatileRead(ref short address); public static int VolatileRead(ref int address); public static void VolatileWrite(ref double address, double value); public static void VolatileWrite(ref object address, object value); public static void VolatileWrite(ref float address, float value); [CLSCompliant(false)] public static void VolatileWrite(ref UIntPtr address, UIntPtr value); public static void VolatileWrite(ref IntPtr address, IntPtr value); [CLSCompliant(false)] public static void VolatileWrite(ref uint address, uint value); [CLSCompliant(false)] public static void VolatileWrite(ref ushort address, ushort value); [CLSCompliant(false)] public static void VolatileWrite(ref ulong address, ulong value); public static void VolatileWrite(ref long address, long value); public static void VolatileWrite(ref int address, int value); public static void VolatileWrite(ref short address, short value); public static void VolatileWrite(ref byte address, byte value); [CLSCompliant(false)] public static void VolatileWrite(ref sbyte address, sbyte value); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] [SecuritySafeCritical] public static bool Yield(); [SecuritySafeCritical] public void Abort(object stateInfo); [SecuritySafeCritical] public void Abort(); [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] [SecurityCritical] public void DisableComObjectEagerCleanup(); [SecuritySafeCritical] public ApartmentState GetApartmentState(); [Obsolete("Thread.GetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")] [SecurityCritical] public CompressedStack GetCompressedStack(); [ComVisible(false)] public override int GetHashCode(); [SecuritySafeCritical] public void Interrupt(); [SecuritySafeCritical] public bool Join(int millisecondsTimeout); [SecuritySafeCritical] public void Join(); public bool Join(TimeSpan timeout); [Obsolete("Thread.Resume has been deprecated. Please use other classes in System.Threading, such as Monitor, Mutex, Event, and Semaphore, to synchronize Threads or protect resources. http://go.microsoft.com/fwlink/?linkid=14202", false)] [SecuritySafeCritical] public void Resume(); [SecuritySafeCritical] public void SetApartmentState(ApartmentState state); [Obsolete("Thread.SetCompressedStack is no longer supported. Please use the System.Threading.CompressedStack class")] [SecurityCritical] public void SetCompressedStack(CompressedStack stack); public void Start(object parameter); public void Start(); [Obsolete("Thread.Suspend has been deprecated. Please use other classes in System.Threading, such as Monitor, Mutex, Event, and Semaphore, to synchronize Threads or protect resources. http://go.microsoft.com/fwlink/?linkid=14202", false)] [SecuritySafeCritical] public void Suspend(); [SecuritySafeCritical] public bool TrySetApartmentState(ApartmentState state); }