Muokkaa

Jaa


WSTrust13RequestSerializer.WriteKnownRequestElement Method

Definition

Writes the supported elements on the RequestSecurityToken object to the stream.

public:
 override void WriteKnownRequestElement(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ rst, System::Xml::XmlWriter ^ writer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override void WriteKnownRequestElement (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken rst, System.Xml.XmlWriter writer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.WriteKnownRequestElement : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.Xml.XmlWriter * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public Overrides Sub WriteKnownRequestElement (rst As RequestSecurityToken, writer As XmlWriter, context As WSTrustSerializationContext)

Parameters

rst
RequestSecurityToken

The RequestSecurityToken object being serialized.

writer
XmlWriter

The XmlWriter object to write to.

context
WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Exceptions

rst is null.

-or-

writer is null.

-or-

context is null.

Remarks

Override this method if the RequestSecurityToken class has been subclassed and had more properties added to it.

Applies to