Method | Description | |
---|---|---|
CancelAfter ( System.Duration delay ) : void |
Schedules a cancel operation on this CancelableTokenSource after the specified duration.
|
|
CancelableTokenSource ( ) : System |
Initializes a new instance of the CancelableTokenSource class.
|
|
CancelableTokenSource ( System.Duration timeout ) : System |
Initializes a new instance of the CancelableTokenSource class.
|
|
CancelableTokenSource ( System.TimeSpan timeout ) : System |
Initializes a new instance of the CancelableTokenSource class.
|
|
CancelableTokenSource ( int timeout ) : System |
Initializes a new instance of the CancelableTokenSource class.
|
public CancelAfter ( System.Duration delay ) : void | ||
delay | System.Duration | The duration to wait before canceling this |
return | void |
public CancelableTokenSource ( System.Duration timeout ) : System | ||
timeout | System.Duration | The timeout. |
return | System |
public CancelableTokenSource ( System.TimeSpan timeout ) : System | ||
timeout | System.TimeSpan | The timeout. |
return | System |
public CancelableTokenSource ( int timeout ) : System | ||
timeout | int | The timeout. |
return | System |