Ends a pending asynchronous SendMessage request.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("Use method 'SendMessageAsync' instead.")] public void EndSendMessage( IAsyncResult asyncResult )
<ObsoleteAttribute("Use method 'SendMessageAsync' instead.")> Public Sub EndSendMessage ( asyncResult As IAsyncResult )
public: [ObsoleteAttribute(L"Use method 'SendMessageAsync' instead.")] void EndSendMessage( IAsyncResult^ asyncResult )
[<ObsoleteAttribute("Use method 'SendMessageAsync' instead.")>] member EndSendMessage : 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