Ends a pending asynchronous MailFrom request.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use method MailFromAsync instead.")] public void EndMailFrom( IAsyncResult asyncResult )
<ObsoleteAttribute("Use method MailFromAsync instead.")> Public Sub EndMailFrom ( asyncResult As IAsyncResult )
public: [ObsoleteAttribute(L"Use method MailFromAsync instead.")] void EndMailFrom( IAsyncResult^ asyncResult )
[<ObsoleteAttribute("Use method MailFromAsync instead.")>] member EndMailFrom : asyncResult : IAsyncResult -> unit
Parameters
- asyncResult (IAsyncResult)
- An IAsyncResult that stores state information and any user defined data for this asynchronous operation.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
ArgumentNullException | Is raised when asyncResult is null. |
ArgumentException | Is raised when invalid asyncResult passed to this method. |
SMTP_ClientException | Is raised when SMTP server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119