IGraphClientAsync.FetchContactAsync
IGraphClientAsync.FetchContactAsync method
Asynchronously gets MapiContact for specified id.
public Task<MapiContact> FetchContactAsync(string id, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| id | String | Contact id. |
| cancellationToken | CancellationToken | A cancellation token to observe while waiting for the task to complete. |
Return Value
A task that represents the asynchronous operation. The task result contains the MapiContact.
See Also
- class MapiContact
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email