Begins an asynchronous request for a connection to a network device.
[Visual Basic]
Overrides Public Function BeginConnect( _
ByVal remoteEP As EndPoint, _
ByVal callback As AsyncCallback, _
ByVal state As Object _
) As IAsyncResult
An IAsyncResult that references the asynchronous connection.
| Exception Type | Condition | 
|---|---|
| ArgumentNullException | remoteEP 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