IEWSClient.FetchMessages
Contents
[
Hide
]FetchMessages(IEnumerable<string>, IEnumerable<PropertyDescriptor>)
Fetches the speciifed messages
public MailMessageCollection FetchMessages(IEnumerable<string> uris,
IEnumerable<PropertyDescriptor> extendedProperties)
Parameter | Type | Description |
---|---|---|
uris | IEnumerable`1 | A StringCollection containing message uris to be retrieved |
extendedProperties | IEnumerable`1 | An enumeration of extended properties |
Return Value
A MailMessageCollection
containing fetched messages
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | uris is null |
See Also
- class MailMessageCollection
- class PropertyDescriptor
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
FetchMessages(IEnumerable<string>)
Fetches the speciifed messages
public MailMessageCollection FetchMessages(IEnumerable<string> uris)
Parameter | Type | Description |
---|---|---|
uris | IEnumerable`1 | A StringCollection containing message uris to be retrieved |
Return Value
A MailMessageCollection
containing fetched messages
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | uris is null |
See Also
- class MailMessageCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
FetchMessages(IEnumerable<ExchangeMessageInfo>)
Fetches the speciifed messages
public MailMessageCollection FetchMessages(IEnumerable<ExchangeMessageInfo> messageInfos)
Parameter | Type | Description |
---|---|---|
messageInfos | IEnumerable`1 | A IEnumerable<ExchangeMessageInfo> “/> of messages to be retrieved |
Return Value
A MailMessageCollection
containing fetched messages
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | messageInfos is null |
See Also
- class MailMessageCollection
- class ExchangeMessageInfo
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
FetchMessages(StringCollection)
Fetches the speciifed messages
public MailMessageCollection FetchMessages(StringCollection messageUris)
Parameter | Type | Description |
---|---|---|
messageUris | StringCollection | A StringCollection containing message uris to be retrieved |
Return Value
A MailMessageCollection
containing fetched messages
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | messageUris is null |
See Also
- class MailMessageCollection
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email