C# Class System.Net.WebSockets.WebSocketBase.OutstandingOperationHelper

Inheritance: IDisposable
Mostra file Open project: dotnet/corefx

Public Methods

Method Description
CancelIO ( ) : void
CompleteOperation ( bool ownsCancellationTokenSource ) : void
Dispose ( ) : void
TryStartOperation ( CancellationToken userCancellationToken, CancellationToken &linkedCancellationToken ) : bool

Private Methods

Method Description
CreateLinkedCancellationToken ( CancellationToken cancellationToken ) : CancellationToken
ThrowIfDisposed ( ) : void

Method Details

CancelIO() public method

public CancelIO ( ) : void
return void

CompleteOperation() public method

public CompleteOperation ( bool ownsCancellationTokenSource ) : void
ownsCancellationTokenSource bool
return void

Dispose() public method

public Dispose ( ) : void
return void

TryStartOperation() public method

public TryStartOperation ( CancellationToken userCancellationToken, CancellationToken &linkedCancellationToken ) : bool
userCancellationToken CancellationToken
linkedCancellationToken CancellationToken
return bool