IGmailClientAsync.GetContactAsync
Contents
[
Hide
]GetContactAsync(Contact, CancellationToken)
Asynchronously retrieves a contact by its object.
public Task<Contact> GetContactAsync(Contact contact, CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| contact | Contact | The contact object. |
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains the Contact.
See Also
- class Contact
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email
GetContactAsync(string, CancellationToken)
Asynchronously retrieves a contact by its URI.
public Task<Contact> GetContactAsync(string contactUri,
CancellationToken cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| contactUri | String | The contact URI. |
| cancellationToken | CancellationToken | A cancellation token. |
Return Value
A task that represents the asynchronous operation. The task result contains the Contact.
See Also
- class Contact
- interface IGmailClientAsync
- namespace Aspose.Email.Clients.Google
- assembly Aspose.Email