SpnEndpointIdentity Constructor (String^)

 

Initializes a new instance of SpnEndpointIdentity with the specified service principal name (SPN).

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

public:
SpnEndpointIdentity(
	String^ spnName
)

Parameters

spnName
Type: System::String^

The SPN.

Exception Condition
ArgumentNullException

spnName is null.

This constructor sets the SpnLookupTime property to 1 minute.

The following code shows how to create identities from a string representation of the SPN.

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

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: