Ends an asynchronous BeginGetAttachment operation.
Namespace:
Rebex.Net
Assembly:
Rebex.Ews (in Rebex.Ews.dll)
Syntax
Visual Basic |
---|
Public Function EndGetAttachment ( _ asyncResult As IAsyncResult _ ) As Attachment |
C# |
---|
public Attachment EndGetAttachment( IAsyncResult asyncResult ) |
Parameters
- asyncResult
- Type: System..::..IAsyncResult
Stores state information for this asynchronous operation as well as any user defined data.
Return Value
Attachment object if the attachment is found; null reference (Nothing in VB.NET) otherwise.Remarks
In builds for .NET 4.0 and higher, this method is available as an extension method. Add 'using Rebex.Legacy' (C#) or 'Import Rebex.Legacy' (VB.NET) to your code in order to use it.