LumiSoft Net Help
Query Method (queryText, queryType, timeout)
NamespacesLumiSoft.Net.DNS.ClientDns_ClientQuery(String, DNS_QType, Int32)
Queries server with specified query.
Declaration Syntax
C#Visual BasicVisual C++F#
public DnsServerResponse Query(
	string queryText,
	DNS_QType queryType,
	int timeout
)
Public Function Query ( 
	queryText As String,
	queryType As DNS_QType,
	timeout As Integer
) As DnsServerResponse
public:
DnsServerResponse^ Query(
	String^ queryText, 
	DNS_QType queryType, 
	int timeout
)
member Query : 
        queryText : string * 
        queryType : DNS_QType * 
        timeout : int -> DnsServerResponse 
Parameters
queryText (String)
Query text. It depends on queryType.
queryType (DNS_QType)
Query type.
timeout (Int32)
Query timeout in milli seconds.
Return Value
DnsServerResponse
Returns DSN server response.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
ArgumentNullExceptionIs raised when queryText is null.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119