Share via


ReceiveEventSource.Disconnect method

When overridden in a derived class, the Disconnect method closes the current connection and cleans up the associated session state.

Namespace:  Microsoft.Exchange.Data.Transport.Smtp
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public MustOverride Sub Disconnect
'Usage
Dim instance As ReceiveEventSource

instance.Disconnect()
public abstract void Disconnect()

See also

Reference

ReceiveEventSource class

ReceiveEventSource members

Microsoft.Exchange.Data.Transport.Smtp namespace