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