C# 클래스 SupportClass.ThreadClass, csharp-ldap

Support class used to handle threads
상속: IThreadRunnable
파일 보기 프로젝트 열기: EventStore/csharp-ldap 1 사용 예제들

공개 메소드들

메소드 설명
Abort ( ) : void

Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread

Abort ( System stateInfo ) : void

Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread while also providing exception information about the thread termination. Calling this method usually terminates the thread.

Current ( ) : ThreadClass,

Gets the currently running thread

Interrupt ( ) : void

Interrupts a thread that is in the WaitSleepJoin thread state

Join ( ) : void

Blocks the calling thread until a thread terminates

Join ( long MiliSeconds ) : void

Blocks the calling thread until a thread terminates or the specified time elapses

Join ( long MiliSeconds, int NanoSeconds ) : void

Blocks the calling thread until a thread terminates or the specified time elapses

Resume ( ) : void

Resumes a thread that has been suspended

Run ( ) : void

This method has no functionality unless the method is overridden

Start ( ) : void

Causes the operating system to change the state of the current thread instance to ThreadState.Running

Suspend ( ) : void

Suspends the thread, if the thread is already suspended it has no effect

ThreadClass ( ) : System

Initializes a new instance of the ThreadClass class

ThreadClass ( System Start ) : System

Initializes a new instance of the Thread class.

ThreadClass ( System Start, string Name ) : System

Initializes a new instance of the Thread class.

ThreadClass ( string Name ) : System

Initializes a new instance of the Thread class.

ToString ( ) : System.String

Obtain a String that represents the current Object

메소드 상세

Abort() 공개 메소드

Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread. Calling this method usually terminates the thread
public Abort ( ) : void
리턴 void

Abort() 공개 메소드

Raises a ThreadAbortException in the thread on which it is invoked, to begin the process of terminating the thread while also providing exception information about the thread termination. Calling this method usually terminates the thread.
public Abort ( System stateInfo ) : void
stateInfo System An object that contains application-specific information, such as state, which can be used by the thread being aborted
리턴 void

Current() 공개 정적인 메소드

Gets the currently running thread
public static Current ( ) : ThreadClass,
리턴 ThreadClass,

Interrupt() 공개 메소드

Interrupts a thread that is in the WaitSleepJoin thread state
public Interrupt ( ) : void
리턴 void

Join() 공개 메소드

Blocks the calling thread until a thread terminates
public Join ( ) : void
리턴 void

Join() 공개 메소드

Blocks the calling thread until a thread terminates or the specified time elapses
public Join ( long MiliSeconds ) : void
MiliSeconds long Time of wait in milliseconds
리턴 void

Join() 공개 메소드

Blocks the calling thread until a thread terminates or the specified time elapses
public Join ( long MiliSeconds, int NanoSeconds ) : void
MiliSeconds long Time of wait in milliseconds
NanoSeconds int Time of wait in nanoseconds
리턴 void

Resume() 공개 메소드

Resumes a thread that has been suspended
public Resume ( ) : void
리턴 void

Run() 공개 메소드

This method has no functionality unless the method is overridden
public Run ( ) : void
리턴 void

Start() 공개 메소드

Causes the operating system to change the state of the current thread instance to ThreadState.Running
public Start ( ) : void
리턴 void

Suspend() 공개 메소드

Suspends the thread, if the thread is already suspended it has no effect
public Suspend ( ) : void
리턴 void

ThreadClass() 공개 메소드

Initializes a new instance of the ThreadClass class
public ThreadClass ( ) : System
리턴 System

ThreadClass() 공개 메소드

Initializes a new instance of the Thread class.
public ThreadClass ( System Start ) : System
Start System A ThreadStart delegate that references the methods to be invoked when this thread begins executing
리턴 System

ThreadClass() 공개 메소드

Initializes a new instance of the Thread class.
public ThreadClass ( System Start, string Name ) : System
Start System A ThreadStart delegate that references the methods to be invoked when this thread begins executing
Name string The name of the thread
리턴 System

ThreadClass() 공개 메소드

Initializes a new instance of the Thread class.
public ThreadClass ( string Name ) : System
Name string The name of the thread
리턴 System

ToString() 공개 메소드

Obtain a String that represents the current Object
public ToString ( ) : System.String
리턴 System.String