SignInRequestMessage.Resource Property

.NET Framework (current version)
 
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.

Gets or sets the wres parameter of the message.

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

public string Resource { get; set; }

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: