WSTrustResponseSerializer.WriteKnownResponseElement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中重写时,将在 RequestSecurityTokenResponse 对象上受支持的元素写入到传出流。
public:
abstract void WriteKnownResponseElement(System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ requestSecurityTokenResponse, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract void WriteKnownResponseElement (System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse requestSecurityTokenResponse, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member WriteKnownResponseElement : System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public MustOverride Sub WriteKnownResponseElement (requestSecurityTokenResponse As RequestSecurityTokenResponse, writer As XmlWriter, context As WSTrustSerializationContext)
参数
- requestSecurityTokenResponse
- RequestSecurityTokenResponse
要序列化的 RequestSecurityTokenResponse 对象。
- context
- WSTrustSerializationContext
一个 WSTrustSerializationContext,包含当前的序列化上下文。