C# Class WebApplications.Utilities.Threading.TokenSource

Inheritance: ITokenSource
ファイルを表示 Open project: webappsuk/CoreLibraries

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

TokenSource ( CancellationToken token ) : System.Threading

Initializes a new instance of the TokenSource class.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

TokenSource() public method

Initializes a new instance of the TokenSource class.
public TokenSource ( CancellationToken token ) : System.Threading
token System.Threading.CancellationToken The token.
return System.Threading