Starts switching to SSL.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use Stls/StlsAsync method instead.")] public IAsyncResult BeginStartTLS( AsyncCallback callback, Object state )
<ObsoleteAttribute("Use Stls/StlsAsync method instead.")> Public Function BeginStartTLS ( callback As AsyncCallback, state As Object ) As IAsyncResult
public: [ObsoleteAttribute(L"Use Stls/StlsAsync method instead.")] IAsyncResult^ BeginStartTLS( AsyncCallback^ callback, Object^ state )
[<ObsoleteAttribute("Use Stls/StlsAsync method instead.")>] member BeginStartTLS : callback : AsyncCallback * state : Object -> IAsyncResult
Parameters
- callback (AsyncCallback)
[Missing <param name="callback"/> documentation for "M:LumiSoft.Net.POP3.Client.POP3_Client.BeginStartTLS(System.AsyncCallback,System.Object)"]
- state (Object)
[Missing <param name="state"/> documentation for "M:LumiSoft.Net.POP3.Client.POP3_Client.BeginStartTLS(System.AsyncCallback,System.Object)"]
Return Value
IAsyncResult
An IAsyncResult that references the asynchronous operation.
An IAsyncResult that references the asynchronous operation.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
InvalidOperationException | Is raised when POP3 client is not connected or is authenticated or is already secure connection. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119