LumiSoft Net Help
CreateTransaction Method (queryType, queryText, timeout)
NamespacesLumiSoft.Net.DNS.ClientDns_ClientCreateTransaction(DNS_QType, String, Int32)
Creates new DNS client transaction.
Declaration Syntax
C#Visual BasicVisual C++F#
public DNS_ClientTransaction CreateTransaction(
	DNS_QType queryType,
	string queryText,
	int timeout
)
Public Function CreateTransaction ( 
	queryType As DNS_QType,
	queryText As String,
	timeout As Integer
) As DNS_ClientTransaction
public:
DNS_ClientTransaction^ CreateTransaction(
	DNS_QType queryType, 
	String^ queryText, 
	int timeout
)
member CreateTransaction : 
        queryType : DNS_QType * 
        queryText : string * 
        timeout : int -> DNS_ClientTransaction 
Parameters
queryType (DNS_QType)
Query type.
queryText (String)
Query text. It depends on queryType.
timeout (Int32)
Transaction timeout in milliseconds. DNS default value is 2000, value 0 means no timeout - this is not suggested.
Return Value
DNS_ClientTransaction
Returns DNS client transaction.
Remarks
Creates asynchronous(non-blocking) DNS transaction. Call Start()()()() to start transaction. It is allowd to create multiple conccurent transactions.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and and this method is accessed.
ArgumentNullExceptionIs raised when queryText is null reference.
ArgumentExceptionIs raised when any of the arguments has invalid value.

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