WSTrustFeb2005ResponseSerializer 类

定义

用于序列化和反序列化 WS 信任 Feb 2005 RequestSecurityTokenResponse (RSTR) 消息的类。Class for serializing and deserializing WS-Trust Feb 2005 RequestSecurityTokenResponse (RSTR) messages.

public ref class WSTrustFeb2005ResponseSerializer : System::IdentityModel::Protocols::WSTrust::WSTrustResponseSerializer
public class WSTrustFeb2005ResponseSerializer : System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer
type WSTrustFeb2005ResponseSerializer = class
    inherit WSTrustResponseSerializer
Public Class WSTrustFeb2005ResponseSerializer
Inherits WSTrustResponseSerializer
继承
WSTrustFeb2005ResponseSerializer

构造函数

WSTrustFeb2005ResponseSerializer()

初始化 WSTrustFeb2005ResponseSerializer 类的新实例。Initializes a new instance of the WSTrustFeb2005ResponseSerializer class.

方法

CanRead(XmlReader)

检查该指定的 XML 读取器是否通过命名空间“http://schemas.xmlsoap.org/ws/2005/02/trust”放置于 RequestSecurityTokenResponse 元素。Checks if the specified XML reader is positioned at a RequestSecurityTokenResponse element with namespace "http://schemas.xmlsoap.org/ws/2005/02/trust".

CreateInstance()

创建 RequestSecurityTokenResponse 类的实例,该类能将其序列化或反序列化。Creates an instance of the RequestSecurityTokenResponse class that this class can serialize or deserialize.

(继承自 WSTrustResponseSerializer)
Equals(Object)

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

(继承自 Object)
GetHashCode()

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

(继承自 Object)
GetType()

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

(继承自 Object)
MemberwiseClone()

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

(继承自 Object)
ReadXml(XmlReader, WSTrustSerializationContext)

XmlReader 对象到 RequestSecurityTokenResponse 对象反序列化 RSTR。Deserializes the RSTR from an XmlReader object to a RequestSecurityTokenResponse object.

ReadXmlElement(XmlReader, RequestSecurityTokenResponse, WSTrustSerializationContext)

重写在 RSTR 内读取指定子元素的基类。Override of the base class that Reads a specific child element inside the RSTR.

ToString()

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

(继承自 Object)
Validate(RequestSecurityTokenResponse)

验证已被反序列化的 RequestSecurityTokenResponse 对象。Validates the RequestSecurityTokenResponse object that has been deserialized.

(继承自 WSTrustResponseSerializer)
WriteKnownResponseElement(RequestSecurityTokenResponse, XmlWriter, WSTrustSerializationContext)

RequestSecurityTokenResponse 对象上将受支持的元素写入输出流。Writes the supported elements on the RequestSecurityTokenResponse object to the outgoing stream.

WriteXml(RequestSecurityTokenResponse, XmlWriter, WSTrustSerializationContext)

将指定的 RequestSecurityTokenResponse 对象序列化为 XmlWriter 对象。Serializes the specified RequestSecurityTokenResponse object into the XmlWriter object.

WriteXmlElement(XmlWriter, String, Object, RequestSecurityTokenResponse, WSTrustSerializationContext)

将指定的 RSTR 元素写入该输出流。Writes the specified RSTR element to the outgoing stream. 基类方法的重写。Override of the base class method.

适用于