Mentalis.org Security Library documentation

SecureNetworkStream.EndWrite Method 

Handles the end of an asynchronous write.

[Visual Basic]
Overrides Public Sub EndWrite( _
   ByVal asyncResult As IAsyncResult _
)
[C#]
public override void EndWrite(
   IAsyncResult asyncResult
);

Parameters

asyncResult
The IAsyncResult representing the asynchronous call.

Exceptions

Exception TypeCondition
ArgumentNullExceptionasyncResult is a null reference (Nothing in Visual Basic).
ArgumentExceptionThe asyncResult parameter was not returned by a call to the BeginWrite method.
IOExceptionAn error occurs while writing to the network.

See Also

SecureNetworkStream Class | SecureNetworkStream Members | Org.Mentalis.Security.Ssl Namespace