Edit

Kongsi melalui


WSTrustRequestSerializer.WriteKnownRequestElement Method

Definition

When overridden in a derived class, writes the supported elements on the RequestSecurityToken object to the stream.

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)

Parameters

requestSecurityToken
RequestSecurityToken

The RequestSecurityToken object being serialized.

writer
XmlWriter

The XmlWriter object to write to.

context
WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Applies to