LumiSoft Net Help
Query Method (queryText, queryType, timeout)
Namespaces ► LumiSoft.Net.DNS.Client ► Dns_Client ► Query(String, DNS_QType, Int32)
Queries server with specified query.
Declaration Syntax

C# | Visual Basic | Visual 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

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed.
ArgumentNullException | Is raised when queryText is null.

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