ARSoft.Tools.Net - C# DNS client/server, SPF and SenderID Library
BeginWrite Method
A Byte array that supplies the bytes to be written to the stream.
The zero-based location in buffer at which to begin reading bytes to be written to the stream.
An Int32 value that specifies the number of bytes to read from buffer.
An AsyncCallback delegate that references the method to invoke when the write operation is complete.
A user-defined object that contains information about the write operation. This object is passed to the asyncCallback delegate when the operation completes.
Begins an asynchronous write operation that writes Bytes from the specified buffer to the stream.
Syntax
public override System.IAsyncResult BeginWrite( 
   System.byte[] buffer,
   System.int offset,
   System.int count,
   System.AsyncCallback asyncCallback,
   System.object asyncState
)

Parameters

buffer
A Byte array that supplies the bytes to be written to the stream.
offset
The zero-based location in buffer at which to begin reading bytes to be written to the stream.
count
An Int32 value that specifies the number of bytes to read from buffer.
asyncCallback
An AsyncCallback delegate that references the method to invoke when the write operation is complete.
asyncState
A user-defined object that contains information about the write operation. This object is passed to the asyncCallback delegate when the operation completes.

Return Value

An IAsyncResult object indicating the status of the asynchronous operation.
See Also

Reference

DaneStream Class
DaneStream Members
Base Implementation in BeginWrite

 

 


© 2010-2015 Alexander Reinert. All Rights Reserved.

Send Feedback


This documentation was created using Document! X