ARSoft.Tools.Net - C# DNS client/server, SPF and SenderID Library
ResolveAsync Method (DnsClient)
Domain, that should be queried
Type the should be queried
Class the should be queried
Options for the query
The token to monitor cancellation requests
Queries a dns server for specified records as an asynchronous operation.
Syntax
public System.Threading.Tasks.Task<DnsMessage> ResolveAsync( 
   DomainName name,
   RecordType recordType,
   RecordClass recordClass,
   DnsQueryOptions options,
   System.Threading.CancellationToken token
)

Parameters

name
Domain, that should be queried
recordType
Type the should be queried
recordClass
Class the should be queried
options
Options for the query
token
The token to monitor cancellation requests

Return Value

The complete response of the dns server
See Also

Reference

DnsClient Class
DnsClient Members

 

 


© 2010-2015 Alexander Reinert. All Rights Reserved.

Send Feedback


This documentation was created using Document! X