Creates new DNS client transaction.
Declaration Syntax
C# | Visual Basic | Visual 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
Return Value
DNS_ClientTransaction
Returns DNS client transaction.
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
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and and this method is accessed. |
ArgumentNullException | Is raised when queryText is null reference. |
ArgumentException | Is raised when any of the arguments has invalid value. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119