Ews.RenameFolderAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
RenameFolderAsync(EwsFolderId, String, Object)
Begins asynchronous RenameFolder operation. Renames an exchange folder.
Declaration
public Task<EwsFolderId> RenameFolderAsync(EwsFolderId folderId, string newName, object state = null)
Parameters
Type | Name | Description |
---|---|---|
EwsFolderId | folderId | ID of a folder to rename. |
String | newName | New folder name. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<EwsFolderId> | ID of the renamed folder. |