Ends a pending asynchronous disconnect request.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void EndDisconnect( IAsyncResult asyncResult )
Public Sub EndDisconnect ( asyncResult As IAsyncResult )
public: void EndDisconnect( IAsyncResult^ asyncResult )
member EndDisconnect : asyncResult : IAsyncResult -> unit
Parameters
- asyncResult (IAsyncResult)
- An IAsyncResult that stores state information and any user defined data for this asynchronous operation.
Exceptions
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 BeginDisconnect method. |
InvalidOperationException | Is raised when EndDisconnect was previously called for the asynchronous connection. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119