Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Session Dim ar As IAsyncResult Dim value As Exception value = instance.EndConnect(ar) |
C# | |
---|---|
public Exception EndConnect( IAsyncResult ar ) |
Parameters
- ar
- The object returned from the BeginConnect method.
Return Value
Exception object or null on success.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x