Mentalis.org Security Library documentation

SecureSocket.EndShutdown Method 

Ends an asynchronous request to shut the connection down.

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

Parameters

asyncResult
An IAsyncResult that references the asynchronous shutdown.

Exceptions

Exception TypeCondition
ArgumentNullExceptionasyncResult is a null reference (Nothing in Visual Basic).
InvalidOperationExceptionBeginShutdown has not been called first.
ArgumentExceptionasyncResult has not been returned by a call to BeginShutdown.

See Also

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