C# Class System.Net.WebSockets.WebSocketBase.WebSocketOperation.SendOperation

Inheritance: WebSocketOperation
显示文件 Open project: dotnet/corefx

Protected Properties

Property Type Description
_BufferHasBeenPinned bool

Private Properties

Property Type Description

Public Methods

Method Description
SendOperation ( WebSocketBase webSocket ) : System.Collections.Generic

Protected Methods

Method Description
Cleanup ( ) : void
CreateBuffer ( Nullable buffer ) : Nullable
Initialize ( Nullable buffer, CancellationToken cancellationToken ) : void
ProcessAction_NoAction ( ) : bool
ShouldContinue ( CancellationToken cancellationToken ) : bool

Method Details

Cleanup() protected method

protected Cleanup ( ) : void
return void

CreateBuffer() protected method

protected CreateBuffer ( Nullable buffer ) : Nullable
buffer Nullable
return Nullable

Initialize() protected method

protected Initialize ( Nullable buffer, CancellationToken cancellationToken ) : void
buffer Nullable
cancellationToken System.Threading.CancellationToken
return void

ProcessAction_NoAction() protected method

protected ProcessAction_NoAction ( ) : bool
return bool

SendOperation() public method

public SendOperation ( WebSocketBase webSocket ) : System.Collections.Generic
webSocket WebSocketBase
return System.Collections.Generic

ShouldContinue() protected method

protected ShouldContinue ( CancellationToken cancellationToken ) : bool
cancellationToken System.Threading.CancellationToken
return bool

Property Details

_BufferHasBeenPinned protected_oe property

protected bool _BufferHasBeenPinned
return bool