IEWSClient.FetchMessages

FetchMessages(IEnumerable<string>, IEnumerable<PropertyDescriptor>)

Fetches the speciifed messages

public MailMessageCollection FetchMessages(IEnumerable<string> uris, 
    IEnumerable<PropertyDescriptor> extendedProperties)
ParameterTypeDescription
urisIEnumerable`1A StringCollection containing message uris to be retrieved
extendedPropertiesIEnumerable`1An enumeration of extended properties

Return Value

A MailMessageCollection containing fetched messages

Exceptions

exceptioncondition
AsposeArgumentNullExceptionuris is null

See Also


FetchMessages(IEnumerable<string>)

Fetches the speciifed messages

public MailMessageCollection FetchMessages(IEnumerable<string> uris)
ParameterTypeDescription
urisIEnumerable`1A StringCollection containing message uris to be retrieved

Return Value

A MailMessageCollection containing fetched messages

Exceptions

exceptioncondition
AsposeArgumentNullExceptionuris is null

See Also


FetchMessages(IEnumerable<ExchangeMessageInfo>)

Fetches the speciifed messages

public MailMessageCollection FetchMessages(IEnumerable<ExchangeMessageInfo> messageInfos)
ParameterTypeDescription
messageInfosIEnumerable`1A IEnumerable<ExchangeMessageInfo> “/> of messages to be retrieved

Return Value

A MailMessageCollection containing fetched messages

Exceptions

exceptioncondition
AsposeArgumentNullExceptionmessageInfos is null

See Also


FetchMessages(StringCollection)

Fetches the speciifed messages

public MailMessageCollection FetchMessages(StringCollection messageUris)
ParameterTypeDescription
messageUrisStringCollectionA StringCollection containing message uris to be retrieved

Return Value

A MailMessageCollection containing fetched messages

Exceptions

exceptioncondition
AsposeArgumentNullExceptionmessageUris is null

See Also