System.Net.Security.SslStream.BeginWrite Method

Begins an asynchronous write operation that writes bytes from the specified buffer to the stream.

Syntax

public override IAsyncResult BeginWrite (byte[] buffer, int offset, int count, AsyncCallback asyncCallback, 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 int 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.

Returns

An IAsyncResult object indicating the status of the asynchronous operation.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Net.Security
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0