LumiSoft Net Help
BeginStartTLS Method (callback, state)
Namespaces ► LumiSoft.Net.SMTP.Client ► SMTP_Client ► BeginStartTLS(AsyncCallback, Object)
Starts switching to SSL.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    [ObsoleteAttribute("Use method StartTlsAsync instead.")]
    public IAsyncResult BeginStartTLS(
    	AsyncCallback callback,
    	Object state
    )

    <ObsoleteAttribute("Use method StartTlsAsync instead.")>
    Public Function BeginStartTLS (
    	callback As AsyncCallback,
    	state As Object
    ) As IAsyncResult

    public:
    [ObsoleteAttribute(L"Use method StartTlsAsync instead.")]
    IAsyncResult^ BeginStartTLS(
    	AsyncCallback^ callback,
    	Object^ state
    )

    [<ObsoleteAttribute("Use method StartTlsAsync instead.")>]
    member BeginStartTLS :
            callback : AsyncCallback *
            state : Object -> IAsyncResult

Parameters

callback (AsyncCallback)

  [Missing <param name="callback"/> documentation for "M:LumiSoft.Net.SMTP.Client.SMTP_Client.BeginStartTLS(System.AsyncCallback,System.Object)"]

state (Object)

  [Missing <param name="state"/> documentation for "M:LumiSoft.Net.SMTP.Client.SMTP_Client.BeginStartTLS(System.AsyncCallback,System.Object)"]

Return Value
IAsyncResult
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 SMTP client is not connected or is already secure connection.

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