SignInRequestMessage.Resource 属性

定义

获取或设置消息的 wres 参数。Gets or sets the wres parameter of the message.

public:
 property System::String ^ Resource { System::String ^ get(); void set(System::String ^ value); };
public string Resource { get; set; }
member this.Resource : string with get, set
Public Property Resource As String

属性值

String

wres 参数的值。The value of the wres parameter.

例外

设置完全无效的 URI 值的尝试发生。An attempt to set a value that is not a valid, absolute URI occurs.

注解

指定要访问的资源的 URL。Specifies the URL for the resource to be accessed. Wres 参数为旧参数。The wres parameter is a legacy parameter. 通常情况下,改用 wtrealm 参数 (Realm 属性) 。Typically, the wtrealm parameter (the Realm property) is used instead. Wres 参数是可选的。The wres parameter is optional. 将属性设置为 Resource null 或空字符串,以便从消息中删除 wres 参数。Set to the Resource property to null or an empty string to remove the wres parameter from the message.

适用于