Export (0) Print
Expand All

SignInRequestMessage.Policy Property

.NET Framework 4.6 and 4.5

Gets or sets the wp parameter of the message.

Namespace:  System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public string Policy { get; set; }

Property Value

Type: System.String
The value of the wp parameter. This is specified as a URI.

ExceptionCondition
ArgumentException

An attempt to set a value that is not a valid, absolute URI occurs.

Identifies the policy to be used for the request. It typically applies to the action (wa parameter), but may have broader implications. The wp parameter is optional. Set the Policy property to null or an empty string to remove the wp parameter from the message.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft