Begins an asynchronous request to create a new SecureSocket to accept an incoming connection request.
[Visual Basic]
Overrides Public Function BeginAccept( _
ByVal callback As AsyncCallback, _
ByVal state As Object _
) As IAsyncResult
An IAsyncResult that references the asynchronous SecureSocket creation.
Exception Type | Condition |
---|---|
ArgumentNullException | callback is a null reference (Nothing in Visual Basic). |
SocketException | An operating system error occurs while creating the SecureSocket. |
ObjectDisposedException | The SecureSocket has been closed. |
SecureSocket Class | SecureSocket Members | Org.Mentalis.Security.Ssl Namespace