Begins an asynchronous write to a stream.
[Visual Basic] Overrides Public Function BeginWrite( _ ByVal sendBuffer() As Byte, _ ByVal index As Integer, _ ByVal size As Integer, _ ByVal callback As AsyncCallback, _ ByVal state As Object _ ) As IAsyncResult [C#] public override IAsyncResult BeginWrite( byte[] sendBuffer, int index, int size, AsyncCallback callback, object state ); [C++] public: override IAsyncResult* BeginWrite( unsigned char* sendBuffer[], int index, int size, AsyncCallback* callback, Object* state ); [JScript] public override function BeginWrite( sendBuffer : Byte[], index : int, size : int, callback : AsyncCallback, state : Object ) : IAsyncResult;
The handle to the asychronous call.
NetworkStream Class | NetworkStream Members | System.Net.Sockets Namespace