C# Class System.Net.AsyncProtocolRequest

Datei anzeigen 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_oe property

public object AsyncState
return object

Buffer public_oe property

public byte[] Buffer
return byte[]

Count public_oe property

public int Count
return int

Offset public_oe property

public int Offset
return int

Result public_oe property

public int Result
return int

UserAsyncResult public_oe property

public LazyAsyncResult,System.Net UserAsyncResult
return LazyAsyncResult