Resource Property

SignInRequestMessage.Resource Property

.NET Framework (current version)
 

Gets or sets the wres parameter of the message.

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

Public Property Resource As String

Property Value

Type: System.String

The value of the wres parameter.

Exception Condition
ArgumentException

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

Specifies the URL for the resource to be accessed. The wres parameter is a legacy parameter. Typically, the wtrealm parameter (the Realm property) is used instead. The wres parameter is optional. Set to the Resource property to null or an empty string to remove the wres parameter from the message.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft