| ImapBeginDisconnect Method | 
Note: This API is now obsolete.
            Begins an asynchronous request for a disconnection from the mail server.
            
 
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
 Syntax
Syntax[ObsoleteAttribute("This method is obsolete in .NET 4.5+. Use DisconnectAsync instead.")]
public IAsyncResult BeginDisconnect(
	AsyncCallback callback,
	Object state
)<ObsoleteAttribute("This method is obsolete in .NET 4.5+. Use DisconnectAsync instead.")>
Public Function BeginDisconnect ( 
	callback As AsyncCallback,
	state As Object
) As IAsyncResultParameters
- callback
- Type: SystemAsyncCallback
 The AsyncCallback delegate. You can leave it a null reference
            (Nothing in Visual Basic) if you do not use callbacks.
- state
- Type: SystemObject
 An object that contains state information for this request.
            You can leave it a null reference (Nothing in Visual Basic).
Return Value
Type: 
IAsyncResultAn 
IAsyncResult that references the asynchronous disconnection.
 Exceptions
Exceptions Remarks
RemarksThis method is an asynchronous version of 
Disconnect.
 See Also
See Also