通过


SignInRequestMessage.Reply 属性

定义

获取或设置消息的 wreply 参数。

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

属性值

wreply 参数的值。 这指定为 URI。

例外

尝试设置无效的绝对 URI 的值。

注解

包含响应应定向到的 URI。 wtrealm 参数通常用于指定此 URI。 但是,在更复杂的方案中,wtrealm 参数可用于指定请求的安全领域,例如,整个网站和 wreply 参数可用于在该领域指定特定资源,例如文档、页面或终结点。 wreply 参数是可选的。 将 Reply 属性 null 设置为或空字符串以从消息中删除 wreply 参数。

重要

为了向后兼容 Active Directory 联合身份验证服务(AD FS)版本 1.0,Windows Identity Foundation(WIF)允许设置 wtrealm 参数或 wreply 参数(或两者)才能使登录消息有效:但是,WS-Federation 协议要求 wtrealm 参数存在于登录请求中。 在大多数情况下,应确保指定 wtrealm 参数。

适用于