Метод | Описание | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Start ( ) : void |
Starts a timeout check.
|
|
Stop ( ) : void |
Stops the timeout check. Typically called when an awaited operation completes before the timeout. |
|
TimeoutCheck ( object subject, int timeoutInMilliseconds = 1000, bool autoStart = true ) : System |
Initializes a new instance of the TimeoutCheck class.
|
Метод | Описание | |
---|---|---|
Dispose ( System.Boolean disposing ) : void |
Disposes this instance.
|
Метод | Описание | |
---|---|---|
OnTimeout ( object sender, object o ) : void |
protected Dispose ( System.Boolean disposing ) : void | ||
disposing | System.Boolean | The disposing. |
Результат | void |
public TimeoutCheck ( object subject, int timeoutInMilliseconds = 1000, bool autoStart = true ) : System | ||
subject | object | The subject. |
timeoutInMilliseconds | int | The timeout in milliseconds. |
autoStart | bool | if set to |
Результат | System |