Ends a pending asynchronous connection request.
| C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use method ConnectAsync instead.")] public void EndConnect( IAsyncResult asyncResult )
<ObsoleteAttribute("Use method ConnectAsync instead.")> Public Sub EndConnect ( asyncResult As IAsyncResult )
public: [ObsoleteAttribute(L"Use method ConnectAsync instead.")] void EndConnect( IAsyncResult^ asyncResult )
[<ObsoleteAttribute("Use method ConnectAsync instead.")>] member EndConnect : asyncResult : IAsyncResult -> unit
- asyncResult (IAsyncResult)
- An IAsyncResult that stores state information and any user defined data for this asynchronous operation.
| Exception | Condition |
|---|---|
| ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
| ArgumentNullException | Is raised when asyncResult is null. |
| ArgumentException | Is raised when argument asyncResult was not returned by a call to the BeginConnect method. |
| InvalidOperationException | Is raised when EndConnect was previously called for the asynchronous connection. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119