ImapDownloadEnvelopesAsync Method (String, Boolean) |
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<EnvelopeCollection> DownloadEnvelopesAsync(
string messageIndexSet,
bool indexIsUid
)
Public Function DownloadEnvelopesAsync (
messageIndexSet As String,
indexIsUid As Boolean
) As Task(Of EnvelopeCollection)
Parameters
- messageIndexSet
- Type: SystemString
A message sequence string containing ordinal message numbers or UIDs. Can be composed manually or using ToString. - indexIsUid
- Type: SystemBoolean
If true, messageIndexSet is treated as a sequence of UIDs; otherwise, as a sequence of ordinal message numbers.
Return Value
Type:
TaskEnvelopeCollectionA task that represents the asynchronous operation.
The value of
TResult parameter is
EnvelopeCollection object if message envelopes were downloaded successfully; otherwise, a null reference (
Nothing in Visual Basic).
Exceptions See Also