LumiSoft Net Help
BeginDisconnect Method (callback, state)
NamespacesLumiSoft.Net.TCPTCP_ClientBeginDisconnect(AsyncCallback, Object)
Starts disconnecting connection.
Declaration Syntax
C#Visual BasicVisual C++F#
public IAsyncResult BeginDisconnect(
	AsyncCallback callback,
	Object state
)
Public Function BeginDisconnect ( 
	callback As AsyncCallback,
	state As Object
) As IAsyncResult
public:
IAsyncResult^ BeginDisconnect(
	AsyncCallback^ callback, 
	Object^ state
)
member BeginDisconnect : 
        callback : AsyncCallback * 
        state : Object -> IAsyncResult 
Parameters
callback (AsyncCallback)
Callback to call when the asynchronous operation is complete.
state (Object)
User data.
Return Value
IAsyncResult
An IAsyncResult that references the asynchronous disconnect.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when TCP client is not connected.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119