Ends an asynchronous request to shut the connection down.
[Visual Basic]
Public Sub EndShutdown( _
ByVal asyncResult As IAsyncResult _
)
| Exception Type | Condition |
|---|---|
| ArgumentNullException | asyncResult is a null reference (Nothing in Visual Basic). |
| InvalidOperationException | BeginShutdown has not been called first. |
| ArgumentException | asyncResult has not been returned by a call to BeginShutdown. |
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace