Ews.GetMailMessageAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9119)
GetMailMessageAsync(EwsItemId, Object)
Begins asynchronous GetMailMessage operation. Gets a MailMessage from the Exchange server.
Declaration
public Task<MailMessage> GetMailMessageAsync(EwsItemId itemId, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsItemId | itemId | ID of a message to retrieve.  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<MailMessage> | A MailMessage composed of MIME representation of the message stored in Exchange server.  |