IGraphClientAsync.CreateContactAsync
IGraphClientAsync.CreateContactAsync method
Asynchronously creates a contact in the specified folder.
public Task<MapiContact> CreateContactAsync(string folderId, MapiContact contact,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| folderId | String | The ID of the folder where the contact will be created. |
| contact | MapiContact | The MapiContact to create. |
| 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 created MapiContact.
See Also
- class MapiContact
- interface IGraphClientAsync
- namespace Aspose.Email.Clients.Graph
- assembly Aspose.Email