Ews.GetMessageInfoAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9119)
GetMessageInfoAsync(EwsItemId, Object)
Begins asynchronous GetMessageInfo operation. Gets the information about a message with default set of properties retrieved.
Declaration
public Task<EwsMessageInfo> GetMessageInfoAsync(EwsItemId itemId, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsItemId | itemId | ID of a message to get info about.  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<EwsMessageInfo> | EwsMessageInfo object containing specified set of information about the message.  | 
    
GetMessageInfoAsync(EwsItemId, EwsItemFields, Object)
Begins asynchronous GetMessageInfo operation. Gets the information about a message with specified set of properties retrieved.
Declaration
public Task<EwsMessageInfo> GetMessageInfoAsync(EwsItemId itemId, EwsItemFields fields, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsItemId | itemId | ID of a message to get info about.  | 
    
| EwsItemFields | fields | Set of item properties to be retrieved.  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<EwsMessageInfo> | EwsItemInfo object containing specified set of information about the message.  |