Ends an asynchronous BeginCopyMessage operation.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Function EndCopyMessage ( _
	asyncResult As IAsyncResult _
) As ImapCopyResult
C#
public ImapCopyResult EndCopyMessage(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: System..::..IAsyncResult
Stores state information for this asynchronous operation as well as any user defined data.

Return Value

Unique ID of the target message, or null (Nothing in Visual Basic) if the server does not support the UIDPLUS extension.

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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also