Adds dns records to cache. If old entry exists, it is replaced.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public void AddToCache( string qname, int qtype, DnsServerResponse response )
Public Sub AddToCache ( qname As String, qtype As Integer, response As DnsServerResponse )
public: void AddToCache( String^ qname, int qtype, DnsServerResponse^ response )
member AddToCache : qname : string * qtype : int * response : DnsServerResponse -> unit
Parameters
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Is raised when qname or response 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