WSTrustFeb2005ResponseSerializer.ReadXml 方法

定义

XmlReader 对象到 RequestSecurityTokenResponse 对象反序列化 RSTR。

public:
 override System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ ReadXml(System::Xml::XmlReader ^ reader, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse ReadXml (System.Xml.XmlReader reader, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.ReadXml : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
Public Overrides Function ReadXml (reader As XmlReader, context As WSTrustSerializationContext) As RequestSecurityTokenResponse

参数

reader
XmlReader

XML 读取器上的 RSTR。

context
WSTrustSerializationContext

一个 WSTrustSerializationContext,包含当前的序列化上下文。

返回

如果序列化成功,则为 RequestSecurityTokenResponse 对象。

例外

readernull

contextnull

适用于