Ews.UpdateItemAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
UpdateItemAsync(EwsItemId, EwsItemMetadata, Object)
Begins asynchronous UpdateItem operation. Updates existing item with specified metadata.
Declaration
public Task<EwsItemId> UpdateItemAsync(EwsItemId itemId, EwsItemMetadata metadata, object state = null)
Parameters
Type | Name | Description |
---|---|---|
EwsItemId | itemId | ID of an item to update. |
EwsItemMetadata | metadata | New metadata of the item. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<EwsItemId> | New ID of the updated item. |
Remarks
Most update operation needs ChangeKey to be set to the latest value.