DnsEndpointIdentity Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DnsEndpointIdentity class.
Overloads
DnsEndpointIdentity(Claim) |
Initializes a new instance of the DnsEndpointIdentity class from a claim. |
DnsEndpointIdentity(String) |
Initializes a new instance of this class from a DNS name. |
DnsEndpointIdentity(Claim)
- Source:
- DnsEndpointIdentity.cs
- Source:
- DnsEndpointIdentity.cs
- Source:
- DnsEndpointIdentity.cs
Initializes a new instance of the DnsEndpointIdentity class from a claim.
public:
DnsEndpointIdentity(System::IdentityModel::Claims::Claim ^ identity);
public DnsEndpointIdentity (System.IdentityModel.Claims.Claim identity);
new System.ServiceModel.DnsEndpointIdentity : System.IdentityModel.Claims.Claim -> System.ServiceModel.DnsEndpointIdentity
Public Sub New (identity As Claim)
Parameters
Exceptions
identity
is null
.
Remarks
The identity
is used to create an endpoint identity by the Initialize method.
Applies to
DnsEndpointIdentity(String)
- Source:
- DnsEndpointIdentity.cs
- Source:
- DnsEndpointIdentity.cs
- Source:
- DnsEndpointIdentity.cs
Initializes a new instance of this class from a DNS name.
public:
DnsEndpointIdentity(System::String ^ dnsName);
public DnsEndpointIdentity (string dnsName);
new System.ServiceModel.DnsEndpointIdentity : string -> System.ServiceModel.DnsEndpointIdentity
Public Sub New (dnsName As String)
Parameters
- dnsName
- String
The DNS name.
Exceptions
dnsName
is null
.
The claim type of dnsName
is not Dns.
Remarks
The dnsName
is used to create a DNS claim and an endpoint identity is created by the Initialize method.