Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SpnEndpointIdentity Constructor (Claim^)

 

Initializes a new instance of SpnEndpointIdentity with the specified identity claim.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
SpnEndpointIdentity(
	Claim^ identity
)

Parameters

identity
Type: System.IdentityModel.Claims::Claim^

The identity for this service principal name (SPN).

Exception Condition
ArgumentNullException

identity is null.

ArgumentException

The claim type of identity is not Spn.

This constructor sets the SpnLookupTime property to 1 minute.

The following code shows how to create identities from a set of claims.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft