WSTrustFeb2005ResponseSerializer.WriteXmlElement(XmlWriter, String, Object, RequestSecurityTokenResponse, WSTrustSerializationContext) メソッド

定義

指定した RSTR 要素を送信ストリームに書き込みます。Writes the specified RSTR element to the outgoing stream. 基底クラス メソッドのオーバーライド。Override of the base class method.

public:
 override void WriteXmlElement(System::Xml::XmlWriter ^ writer, System::String ^ elementName, System::Object ^ elementValue, System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ rstr, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override void WriteXmlElement (System.Xml.XmlWriter writer, string elementName, object elementValue, System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.WriteXmlElement : System.Xml.XmlWriter * string * obj * System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public Overrides Sub WriteXmlElement (writer As XmlWriter, elementName As String, elementValue As Object, rstr As RequestSecurityTokenResponse, context As WSTrustSerializationContext)

パラメーター

writer
XmlWriter

RSTR がシリアル化されている先の XmlWriter オブジェクト。The XmlWriter object to which the RSTR is being serialized.

elementName
String

書き込む要素のローカル名。The local name of the element to be written.

elementValue
Object

要素の値。The value of the element.

rstr
RequestSecurityTokenResponse

シリアル化の対象となる RequestSecurityTokenResponse オブジェクト。The RequestSecurityTokenResponse object that is being serialized.

context
WSTrustSerializationContext

現在のシリアル化コンテキストを格納している WSTrustSerializationContextA WSTrustSerializationContext that contains the current serialization context.

例外

rstrnullです。rstr is null.

- または --or- writernullです。writer is null.

- または --or- contextnullです。context is null.

elementName が null または空の文字列です。elementName is null or an empty string.

適用対象