Ends an asynchronous BeginGetMessageHeaders operation.
Namespace:
Rebex.Net
Assembly:
Rebex.Pop3 (in Rebex.Pop3.dll)
Syntax
Visual Basic |
---|
Public Function EndGetMessageHeaders ( _ asyncResult As IAsyncResult _ ) As Long |
C# |
---|
public long EndGetMessageHeaders( IAsyncResult asyncResult ) |
Parameters
- asyncResult
- Type: System..::..IAsyncResult
Stores state information for this asynchronous operation as well as any user defined data.
Return Value
The length of the headers in bytes.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.