IEmailConnector.GetMyEmailAddressAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.