SignOutRequestMessage 类

定义

表示 WS-Federation Sign-Out 消息。Represents a WS-Federation sign-out message. 当接收的消息将操作参数 (wa) 设置为“wsignout1.0”时,则会建此消息。This message is created when the received message has the action parameter (wa) set to "wsignout1.0".

public ref class SignOutRequestMessage : System::IdentityModel::Services::WSFederationMessage
public class SignOutRequestMessage : System.IdentityModel.Services.WSFederationMessage
type SignOutRequestMessage = class
    inherit WSFederationMessage
Public Class SignOutRequestMessage
Inherits WSFederationMessage
继承

注解

WS-Federation 注销消息由依赖方 (RP) 发送到 security token service (STS) 使用该 STS 从当前会话中注销。A WS-Federation sign-out message is sent by a relying party (RP) to a security token service (STS) to sign out of the current session with that STS. Wa 参数必须设置为 "wsignout1.0 1.0",可选的 wreply 参数可以设置为指示客户端在注销完成后应重定向到的 URL。The wa parameter must be set to "wsignout1.0" and an optional wreply parameter may be set to indicate the URL to which the client should be redirected by the STS after sign-out completes.

SignOutRequestMessage WSFederationMessage CreateFromUri 当 wa 参数设置为 "wsignout1.0 1.0" 时,类的静态方法(例如方法)会创建一条消息。A SignOutRequestMessage message is created by the static methods of the WSFederationMessage class, for example the CreateFromUri method, when the wa parameter is set to "wsignout1.0".

有关此类表示的消息的详细信息,请参阅以下规范的第13节: Web Services 联合身份验证 Language (WS 联合身份验证) 1.2 版For more information about the message that this class represents, see section 13 of the following specification: Web Services Federation Language (WS-Federation) Version 1.2.

构造函数

SignOutRequestMessage(Uri)

初始化使用指定的基本 URL 的 SignOutRequestMessage 类的新实例。Initializes a new instance of the SignOutRequestMessage class with the specified base URL.

SignOutRequestMessage(Uri, String)

使用指定的基础 URL 和参数初始化 SignOutRequestMessage 类的新实例。Initializes a new instance of the SignOutRequestMessage class with the specified base URL and wreply parameter.

属性

Action

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

(继承自 WSFederationMessage)
BaseUri

获取或设置消息要应用于的基 URI。Gets or sets the base URL to which the message applies.

(继承自 FederationMessage)
Context

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

(继承自 WSFederationMessage)
Encoding

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

(继承自 WSFederationMessage)
Parameters

以字典形式获取消息参数。Gets the message parameters as a dictionary.

(继承自 FederationMessage)
Reply

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

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetParameter(String)

从参数字典中返回指定的参数值。Returns the specified parameter value from the parameters dictionary.

(继承自 FederationMessage)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
RemoveParameter(String)

从参数字典中移除参数。Removes a parameter from the parameters dictionary.

(继承自 FederationMessage)
SetParameter(String, String)

设置参数字典中参数的值。Sets the value of a parameter in the parameters dictionary.

(继承自 FederationMessage)
SetUriParameter(String, String)

设置参数字典中参数的值。Sets the value of a parameter in the parameters dictionary. 该值必须为绝对 URI。The value must be an absolute URI.

(继承自 FederationMessage)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)
Validate()

验证当前实例。Validates the current instance.

Write(TextWriter)

以查询字符串形式将消息写入指定的文本写入器。Writes the message in query string form to the specified text writer.

WriteFormPost()

序列化一则消息作为窗体,发布并返回结果窗体和其以字符串形式的JavascriptSerializes the message as a form post and returns the resulting Form together with its Javascript as a string.

(继承自 FederationMessage)
WriteQueryString()

返回以查询字符串形式的消息的字符串表示形式。Returns a string representation of the message in query-string format.

(继承自 FederationMessage)

适用于

另请参阅