UpnEndpointIdentity Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the UpnEndpointIdentity class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
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
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: