C# Class System.Net.AsyncProtocolRequest

Show file Open project: dotnet/corefx Class Usage Examples

Public Properties

Property Type Description
AsyncState object
Buffer byte[]
Count int
Offset int
Result int
UserAsyncResult LazyAsyncResult

Private Properties

Property Type Description
CompleteRequest void
CompleteUser void
CompleteUser void
CompleteUserWithError void

Public Methods

Method Description
AsyncProtocolRequest ( LazyAsyncResult userAsyncResult ) : System.Diagnostics
Reset ( LazyAsyncResult userAsyncResult ) : void
SetNextRequest ( byte buffer, int offset, int count, AsyncProtocolCallback callback ) : void

Private Methods

Method Description
CompleteRequest ( int result ) : void
CompleteUser ( ) : void
CompleteUser ( int userResult ) : void
CompleteUserWithError ( Exception e ) : void

Method Details

AsyncProtocolRequest() public method

public AsyncProtocolRequest ( LazyAsyncResult userAsyncResult ) : System.Diagnostics
userAsyncResult LazyAsyncResult
return System.Diagnostics

Reset() public method

public Reset ( LazyAsyncResult userAsyncResult ) : void
userAsyncResult LazyAsyncResult
return void

SetNextRequest() public method

public SetNextRequest ( byte buffer, int offset, int count, AsyncProtocolCallback callback ) : void
buffer byte
offset int
count int
callback AsyncProtocolCallback
return void

Property Details

AsyncState public property

public object AsyncState
return object

Buffer public property

public byte[] Buffer
return byte[]

Count public property

public int Count
return int

Offset public property

public int Offset
return int

Result public property

public int Result
return int

UserAsyncResult public property

public LazyAsyncResult,System.Net UserAsyncResult
return LazyAsyncResult