/// <summary> /// Creates an instance of <see cref="DnsResponseException"/> with <see cref="DnsResponseCode.Unassigned"/>. /// </summary> public DnsResponseException() : base(DnsResponseCodeText.Unassigned) { Code = DnsResponseCode.Unassigned; DnsError = DnsResponseCodeText.GetErrorText(Code); }