Mentalis.org Security Library documentation

SecureSocket.BeginShutdown Method 

Begins an asynchronous request to shut the connection down.

[Visual Basic]
Public Function BeginShutdown( _
   ByVal callback As AsyncCallback, _
   ByVal state As Object _
) As IAsyncResult
[C#]
public IAsyncResult BeginShutdown(
   AsyncCallback callback,
   object state
);

Parameters

callback
The AsyncCallback delegate.
state
An object containing state information for this request.

Return Value

An IAsyncResult that references the asynchronous shutdown.

Exceptions

Exception TypeCondition
InvalidOperationExceptionBeginShutdown has already been called.

See Also

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