Méthode | Description | |
---|---|---|
Cancel ( ) : void |
Cancels any current Wait calls
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Reset ( IWorkGroup group ) : void |
Resets the wait status, causing Wait calls to wait.
|
|
Set ( IWorkGroup group ) : void |
Sets the state to signaled; any Wait calls will return
|
|
Wait ( IWorkGroup group ) : bool |
Waits until notified to stop waiting.
|
|
WaitForEventOrCancelThreadPool ( IWaitForEventOrCancelFactory waitForEventOrCancelFactory ) : System |
Initializes a new instance of the WaitForEventOrCancelThreadPool class.
|
Méthode | Description | |
---|---|---|
ThrowIfDisposed ( [ name = "" ) : void |
Throws an exception if this instance has been disposed.
|
Méthode | Description | |
---|---|---|
TryAdd ( IWorkGroup group ) : void |
Tries to add a new work group to the collection Will gracefully handle another thread adding the group |
public Reset ( IWorkGroup group ) : void | ||
group | IWorkGroup | The group. |
Résultat | void |
public Set ( IWorkGroup group ) : void | ||
group | IWorkGroup | The group. |
Résultat | void |
protected ThrowIfDisposed ( [ name = "" ) : void | ||
name | [ | The name. |
Résultat | void |
public Wait ( IWorkGroup group ) : bool | ||
group | IWorkGroup | The group. |
Résultat | bool |
public WaitForEventOrCancelThreadPool ( IWaitForEventOrCancelFactory waitForEventOrCancelFactory ) : System | ||
waitForEventOrCancelFactory | IWaitForEventOrCancelFactory | The wait for event or cancel factory. |
Résultat | System |