IGraphClientAsync.FetchContactAsync

IGraphClientAsync.FetchContactAsync method

Asynchronously gets MapiContact for specified id.

public Task<MapiContact> FetchContactAsync(string id, CancellationToken cancellationToken = default)
ParameterTypeDescription
idStringContact id.
cancellationTokenCancellationTokenA 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