Default constructor.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public StartTlsAsyncOP( RemoteCertificateValidationCallback certCallback, EventHandler<EventArgs<IMAP_r_u>> callback )
Public Sub New ( certCallback As RemoteCertificateValidationCallback, callback As EventHandler(Of EventArgs(Of IMAP_r_u)) )
public: StartTlsAsyncOP( RemoteCertificateValidationCallback^ certCallback, EventHandler<EventArgs<IMAP_r_u^>^>^ callback )
new : certCallback : RemoteCertificateValidationCallback * callback : EventHandler<EventArgs<IMAP_r_u>> -> StartTlsAsyncOP
Parameters
- certCallback (RemoteCertificateValidationCallback)
- SSL server certificate validation callback. Value null means any certificate is accepted.
- callback (EventHandler<(Of <(<'EventArgs<(Of <(<'IMAP_r_u>)>)>>)>)>)
- Optional callback to be called for each received untagged response.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119