Dns.ResolveMxAsync(String, CancellationToken) Method

Definition

public static System.Threading.Tasks.Task<System.Net.DnsResult<System.Net.MxRecord>> ResolveMxAsync(string name, System.Threading.CancellationToken cancellationToken = default);
static member ResolveMxAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Net.DnsResult<System.Net.MxRecord>>
Public Shared Function ResolveMxAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DnsResult(Of MxRecord))

Parameters

name
String
cancellationToken
CancellationToken

Returns

Applies to