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을 serialize하는 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

serialize되고 있는 RequestSecurityTokenResponse 개체입니다.The RequestSecurityTokenResponse object that is being serialized.

context
WSTrustSerializationContext

현재 serialization 컨텍스트가 들어 있는 WSTrustSerializationContext입니다.A WSTrustSerializationContext that contains the current serialization context.

예외

rstr이(가) null인 경우rstr is null.

또는-or- writernull입니다.writer is null.

또는-or- context이(가) null인 경우context is null.

elementName이 null이 이거나 빈 문자열인 경우elementName is null or an empty string.

적용 대상