ARSoft.Tools.Net - C# DNS client/server, SPF and SenderID Library
BeginRead Method
A Byte array that receives the bytes read from the stream.
The zero-based location in buffer at which to begin storing the data read from this stream.
The maximum number of bytes to read from the stream.
An AsyncCallback delegate that references the method to invoke when the read operation is complete.
A user-defined object that contains information about the read operation. This object is passed to the asyncCallback delegate when the operation completes.
Begins an asynchronous read operation that reads data from the stream and stores it in the specified array.
Syntax
public override System.IAsyncResult BeginRead( 
   System.byte[] buffer,
   System.int offset,
   System.int count,
   System.AsyncCallback asyncCallback,
   System.object asyncState
)

Parameters

buffer
A Byte array that receives the bytes read from the stream.
offset
The zero-based location in buffer at which to begin storing the data read from this stream.
count
The maximum number of bytes to read from the stream.
asyncCallback
An AsyncCallback delegate that references the method to invoke when the read operation is complete.
asyncState
A user-defined object that contains information about the read operation. This object is passed to the asyncCallback delegate when the operation completes.

Return Value

An IAsyncResult object that indicates the status of the asynchronous operation.
See Also

Reference

DaneStream Class
DaneStream Members
Base Implementation in BeginRead

 

 


© 2010-2015 Alexander Reinert. All Rights Reserved.

Send Feedback


This documentation was created using Document! X