Ews.GetMessageListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)
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 |
---|---|---|
Ews |
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<Ews |
List of Ews |
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 |
---|---|---|
Ews |
folderId | ID of a folder to be listed. |
Ews |
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<Ews |
List of Ews |
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 |
---|---|---|
Ews |
folderId | ID of a folder to be listed. |
Ews |
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<Ews |
List of Ews |
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 |
---|---|---|
Ews |
folderId | ID of a folder to be listed. |
Ews |
fields | Set of message properties to be retrieved. |
Ews |
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<Ews |
List of Ews |
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 |
---|---|---|
Ews |
folderId | ID of a folder to be listed. |
Ews |
fields | Set of message properties to be retrieved. |
Ews |
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<Ews |
List of Ews |