Ews.GetMessageListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9119)
GetMessageListAsync(EwsFolderId, Object)
Begins asynchronous GetMessageList operation. Lists specified folder to retrieve collection of containing items.
Declaration
public Task<EwsMessageCollection> GetMessageListAsync(EwsFolderId folderId, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsFolderId | folderId | ID of a folder to be listed.  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<EwsMessageCollection> | List of EwsMessageInfo.  | 
    
GetMessageListAsync(EwsFolderId, EwsItemFields, Object)
Begins asynchronous GetMessageList operation. Lists specified folder to retrieve collection of containing items.
Declaration
public Task<EwsMessageCollection> GetMessageListAsync(EwsFolderId folderId, EwsItemFields fields, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsFolderId | folderId | ID of a folder to be listed.  | 
    
| EwsItemFields | fields | Set of message properties to be retrieved.  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<EwsMessageCollection> | List of EwsMessageInfo.  | 
    
GetMessageListAsync(EwsFolderId, EwsPageView, Object)
Begins asynchronous GetMessageList operation. Lists specified folder to retrieve collection of containing items.
Declaration
public Task<EwsMessageCollection> GetMessageListAsync(EwsFolderId folderId, EwsPageView pageView, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsFolderId | folderId | ID of a folder to be listed.  | 
    
| EwsPageView | pageView | Paging definition. Can be null (Nothing in VB.NET).  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<EwsMessageCollection> | List of EwsMessageInfo.  | 
    
GetMessageListAsync(EwsFolderId, EwsItemFields, EwsPageView, Object)
Begins asynchronous GetMessageList operation. Lists specified folder to retrieve collection of containing items.
Declaration
public Task<EwsMessageCollection> GetMessageListAsync(EwsFolderId folderId, EwsItemFields fields, EwsPageView pageView, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsFolderId | folderId | ID of a folder to be listed.  | 
    
| EwsItemFields | fields | Set of message properties to be retrieved.  | 
    
| EwsPageView | pageView | Paging definition. Can be null (Nothing in VB.NET).  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<EwsMessageCollection> | List of EwsMessageInfo.  | 
    
GetMessageListAsync(EwsFolderId, EwsItemFields, EwsListView, Object)
Begins asynchronous GetMessageList operation. Lists specified folder to retrieve collection of containing items.
Declaration
public Task<EwsMessageCollection> GetMessageListAsync(EwsFolderId folderId, EwsItemFields fields, EwsListView listView, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsFolderId | folderId | ID of a folder to be listed.  | 
    
| EwsItemFields | fields | Set of message properties to be retrieved.  | 
    
| EwsListView | listView | List view options. Can be null (Nothing in VB.NET).  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<EwsMessageCollection> | List of EwsMessageInfo.  |