UpnEndpointIdentity Constructor (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the UpnEndpointIdentity class.

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

public UpnEndpointIdentity(
	string upnName
)

Parameters

upnName
Type: System.String

The UPN name.

Exception Condition
ArgumentNullException

upnName is null.

ArgumentException

The claim type of upnName is not Upn.

This method creates a claim from upnName and then calls Initialize using that claim as the input parameter.

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