Starts resetting SMTP session, all state data will be deleted.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use 'RsetAsync' method instead.")] public IAsyncResult BeginReset( AsyncCallback callback, Object state )
<ObsoleteAttribute("Use 'RsetAsync' method instead.")> Public Function BeginReset ( callback As AsyncCallback, state As Object ) As IAsyncResult
public: [ObsoleteAttribute(L"Use 'RsetAsync' method instead.")] IAsyncResult^ BeginReset( AsyncCallback^ callback, Object^ state )
[<ObsoleteAttribute("Use 'RsetAsync' method instead.")>] member BeginReset : 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.
An IAsyncResult that references the asynchronous disconnect.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
InvalidOperationException | Is raised when SMTP client is not connected. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119