ARSoft.Tools.Net - C# DNS client/server, SPF and SenderID Library
ResolveAsync<T> Method (DnsResolverExtensions)
Type of records, that should be returned
The resolver instance, that should be used for queries
Domain, that should be queried
Type the should be queried
Class the should be queried
The token to monitor cancellation requests
Queries a dns resolver for specified records as an asynchronous operation.
Syntax
[System.Runtime.CompilerServices.Extension()]
public static System.Threading.Tasks.Task<List<T>> ResolveAsync<T>( 
   IDnsResolver resolver,
   System.string name,
   RecordType recordType,
   RecordClass recordClass,
   System.Threading.CancellationToken token
)
where T: DnsRecordBase

Parameters

resolver
The resolver instance, that should be used for queries
name
Domain, that should be queried
recordType
Type the should be queried
recordClass
Class the should be queried
token
The token to monitor cancellation requests

Type Parameters

T
Type of records, that should be returned

Return Value

A list of matching records
See Also

Reference

DnsResolverExtensions Class
DnsResolverExtensions Members

 

 


© 2010-2015 Alexander Reinert. All Rights Reserved.

Send Feedback


This documentation was created using Document! X