System.Threading.CountdownEvent Class Reference
+ Inheritance diagram for System.Threading.CountdownEvent:
+ Collaboration diagram for System.Threading.CountdownEvent:

Public Member Functions

 CountdownEvent (int initialCount)
 
bool Signal ()
 
bool Signal (int signalCount)
 
void AddCount ()
 
void AddCount (int signalCount)
 
bool TryAddCount ()
 
bool TryAddCount (int signalCount)
 
void Wait ()
 
void Wait (CancellationToken cancellationToken)
 
bool Wait (int millisecondsTimeout)
 
bool Wait (TimeSpan timeout)
 
bool Wait (int millisecondsTimeout, CancellationToken cancellationToken)
 
bool Wait (TimeSpan timeout, CancellationToken cancellationToken)
 
void Reset ()
 
void Reset (int count)
 
void Dispose ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Properties

int CurrentCount [get]
 
int InitialCount [get]
 
bool IsSet [get]
 
WaitHandle WaitHandle [get]
 

Detailed Description

Definition at line 34 of file CountdownEvent.cs.

Constructor & Destructor Documentation

System.Threading.CountdownEvent.CountdownEvent ( int  initialCount)

Definition at line 40 of file CountdownEvent.cs.

Member Function Documentation

void System.Threading.CountdownEvent.AddCount ( )

Definition at line 97 of file CountdownEvent.cs.

void System.Threading.CountdownEvent.AddCount ( int  signalCount)

Definition at line 102 of file CountdownEvent.cs.

void System.Threading.CountdownEvent.Dispose ( )

Definition at line 193 of file CountdownEvent.cs.

virtual void System.Threading.CountdownEvent.Dispose ( bool  disposing)
protectedvirtual

Definition at line 198 of file CountdownEvent.cs.

void System.Threading.CountdownEvent.Reset ( )

Definition at line 174 of file CountdownEvent.cs.

void System.Threading.CountdownEvent.Reset ( int  count)

Definition at line 179 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.Signal ( )

Definition at line 73 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.Signal ( int  signalCount)

Definition at line 78 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.TryAddCount ( )

Definition at line 108 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.TryAddCount ( int  signalCount)

Definition at line 113 of file CountdownEvent.cs.

void System.Threading.CountdownEvent.Wait ( )

Definition at line 144 of file CountdownEvent.cs.

void System.Threading.CountdownEvent.Wait ( CancellationToken  cancellationToken)

Definition at line 149 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.Wait ( int  millisecondsTimeout)

Definition at line 154 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.Wait ( TimeSpan  timeout)

Definition at line 159 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.Wait ( int  millisecondsTimeout,
CancellationToken  cancellationToken 
)

Definition at line 164 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.Wait ( TimeSpan  timeout,
CancellationToken  cancellationToken 
)

Definition at line 169 of file CountdownEvent.cs.

Property Documentation

int System.Threading.CountdownEvent.CurrentCount
get

Definition at line 49 of file CountdownEvent.cs.

int System.Threading.CountdownEvent.InitialCount
get

Definition at line 55 of file CountdownEvent.cs.

bool System.Threading.CountdownEvent.IsSet
get

Definition at line 61 of file CountdownEvent.cs.

WaitHandle System.Threading.CountdownEvent.WaitHandle
get

Definition at line 67 of file CountdownEvent.cs.


The documentation for this class was generated from the following file: