UpnEndpointIdentity Constructor (String^)

 

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: