Ews.GetFolderIdAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9448)
GetFolderIdAsync(EwsSpecialFolder, Object)
Begins asynchronous GetFolderId operation. Gets full ID (native Exchange ID and Change key) of a special exchange folder.
Declaration
public Task<EwsFolderId> GetFolderIdAsync(EwsSpecialFolder folder, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsSpecialFolder | folder | Distinguished folder name. |
| Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task<EwsFolderId> | ID of an distinguished exchange folder. |
GetFolderIdAsync(EwsFolderId, Object)
Begins asynchronous GetFolderId operation. Gets full ID (native Exchange ID and Change key) of an exchange folder.
Declaration
public Task<EwsFolderId> GetFolderIdAsync(EwsFolderId folderId, object state = null)
Parameters
| Type | Name | Description |
|---|---|---|
| EwsFolderId | folderId | ID of a folder to get full ID from. |
| Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
| Type | Description |
|---|---|
| Task<EwsFolderId> | Full ID of the specified folder. |