SrvRecord Constructor
Creates a new instance of the SrvRecord class
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public SrvRecord(
DomainName name,
int timeToLive,
ushort priority,
ushort weight,
ushort port,
DomainName target
)
Public Sub New (
name As DomainName,
timeToLive As Integer,
priority As UShort,
weight As UShort,
port As UShort,
target As DomainName
)
public:
SrvRecord(
DomainName^ name,
int timeToLive,
unsigned short priority,
unsigned short weight,
unsigned short port,
DomainName^ target
)
new :
name : DomainName *
timeToLive : int *
priority : uint16 *
weight : uint16 *
port : uint16 *
target : DomainName -> SrvRecord
Parameters
- name DomainName
- Name of the record
- timeToLive Int32
- Seconds the record should be cached at most
- priority UInt16
- Priority of the record
- weight UInt16
- Relative weight for records with the same priority
- port UInt16
- The port of the service on the target
- target DomainName
- Domain name of the target host