Public Member Functions | |
CancellationToken (bool canceled) | |
CancellationTokenRegistration | Register (Action callback) |
CancellationTokenRegistration | Register (Action callback, bool useSynchronizationContext) |
CancellationTokenRegistration | Register (Action< object > callback, object state) |
CancellationTokenRegistration | Register (Action< object > callback, object state, bool useSynchronizationContext) |
void | ThrowIfCancellationRequested () |
bool | Equals (CancellationToken other) |
override bool | Equals (object other) |
override int | GetHashCode () |
Static Public Member Functions | |
static bool | operator== (CancellationToken left, CancellationToken right) |
static bool | operator!= (CancellationToken left, CancellationToken right) |
Public Attributes | |
readonly CancellationTokenSource | source |
Properties | |
static CancellationToken | None [get] |
bool | CanBeCanceled [get] |
bool | IsCancellationRequested [get] |
WaitHandle | WaitHandle [get] |
CancellationTokenSource | Source [get] |
Detailed Description
Definition at line 38 of file CancellationToken.cs.
Constructor & Destructor Documentation
System.Threading.CancellationToken.CancellationToken | ( | bool | canceled | ) |
Definition at line 42 of file CancellationToken.cs.
Member Function Documentation
bool System.Threading.CancellationToken.Equals | ( | CancellationToken | other | ) |
Definition at line 92 of file CancellationToken.cs.
override bool System.Threading.CancellationToken.Equals | ( | object | other | ) |
Definition at line 97 of file CancellationToken.cs.
override int System.Threading.CancellationToken.GetHashCode | ( | ) |
Definition at line 102 of file CancellationToken.cs.
|
static |
Definition at line 112 of file CancellationToken.cs.
|
static |
Definition at line 107 of file CancellationToken.cs.
CancellationTokenRegistration System.Threading.CancellationToken.Register | ( | Action | callback | ) |
Definition at line 60 of file CancellationToken.cs.
CancellationTokenRegistration System.Threading.CancellationToken.Register | ( | Action | callback, |
bool | useSynchronizationContext | ||
) |
Definition at line 65 of file CancellationToken.cs.
CancellationTokenRegistration System.Threading.CancellationToken.Register | ( | Action< object > | callback, |
object | state | ||
) |
Definition at line 73 of file CancellationToken.cs.
CancellationTokenRegistration System.Threading.CancellationToken.Register | ( | Action< object > | callback, |
object | state, | ||
bool | useSynchronizationContext | ||
) |
Definition at line 78 of file CancellationToken.cs.
void System.Threading.CancellationToken.ThrowIfCancellationRequested | ( | ) |
Definition at line 86 of file CancellationToken.cs.
Member Data Documentation
readonly CancellationTokenSource System.Threading.CancellationToken.source |
Definition at line 40 of file CancellationToken.cs.
Property Documentation
|
get |
Definition at line 117 of file CancellationToken.cs.
|
get |
Definition at line 123 of file CancellationToken.cs.
|
staticget |
Definition at line 52 of file CancellationToken.cs.
|
get |
Definition at line 135 of file CancellationToken.cs.
|
get |
Definition at line 129 of file CancellationToken.cs.
The documentation for this struct was generated from the following file: