Class UriRecord
A DnsResourceRecord represending a Uniform Resource Identifier (URI) resource.
Inherited Members
Namespace: DnsClient.Protocol
Assembly: DnsClient.dll
Syntax
public class UriRecord : DnsResourceRecord
Constructors
| Improve this Doc View SourceUriRecord(ResourceRecordInfo, UInt16, UInt16, String)
Initializes a new instance of the UriRecord class.
Declaration
[CLSCompliant(false)]
public UriRecord(ResourceRecordInfo info, ushort priority, ushort weight, string target)
Parameters
| Type | Name | Description |
|---|---|---|
| ResourceRecordInfo | info | The information. |
| UInt16 | priority | The priority. |
| UInt16 | weight | The weight. |
| String | target | The target. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If |
Properties
| Improve this Doc View SourcePriority
Gets or sets the priority.
Declaration
public int Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 | The priority. |
Target
Gets or sets the target Uri.
Declaration
public string Target { get; set; }
Property Value
| Type | Description |
|---|---|
| String | The target. |
Weigth
Gets or sets the weigth.
Declaration
public int Weigth { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 | The weigth. |