IEmailConnector.GetMyEmailAddressAsync(CancellationToken) Method

Definition

Get the user's email address.

public System.Threading.Tasks.Task<string> GetMyEmailAddressAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetMyEmailAddressAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetMyEmailAddressAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

The user's email address.

Applies to