C# 클래스 Elmah.ErrorXml

Responsible for encoding and decoding the XML representation of an Error object.
파일 보기 프로젝트 열기: elmah/Elmah 1 사용 예제들

공개 메소드들

메소드 설명
Decode ( XmlReader reader ) : Error

Decodes an Error object from its XML representation.

DecodeString ( string xml ) : Error

Decodes an Error object from its default XML representation.

Encode ( Error error, XmlWriter writer ) : void

Encodes the XML representation of an Error object.

EncodeString ( Error error ) : string

Encodes the default XML representation of an Error object to a string.

비공개 메소드들

메소드 설명
Encode ( System.Collections.Specialized.NameValueCollection collection, XmlWriter writer ) : void

Encodes an XML representation for a NameValueCollection object.

ReadInnerXml ( XmlReader reader, Error error ) : void

Reads the error data in child nodes.

ReadXmlAttributes ( XmlReader reader, Error error ) : void

Reads the error data in XML attributes.

UpcodeTo ( XmlReader reader, System.Collections.Specialized.NameValueCollection collection ) : void

Updates an existing NameValueCollection object from its XML representation.

WriteCollection ( XmlWriter writer, string name, System.Collections.Specialized.NameValueCollection collection ) : void
WriteInnerXml ( Error error, XmlWriter writer ) : void

Writes the error data that belongs in child nodes.

WriteXmlAttribute ( XmlWriter writer, string name, string value ) : void
WriteXmlAttributes ( Error error, XmlWriter writer ) : void

Writes the error data that belongs in XML attributes.

메소드 상세

Decode() 공개 정적인 메소드

Decodes an Error object from its XML representation.
public static Decode ( XmlReader reader ) : Error
reader XmlReader
리턴 Error

DecodeString() 공개 정적인 메소드

Decodes an Error object from its default XML representation.
public static DecodeString ( string xml ) : Error
xml string
리턴 Error

Encode() 공개 정적인 메소드

Encodes the XML representation of an Error object.
public static Encode ( Error error, XmlWriter writer ) : void
error Error
writer System.Xml.XmlWriter
리턴 void

EncodeString() 공개 정적인 메소드

Encodes the default XML representation of an Error object to a string.
public static EncodeString ( Error error ) : string
error Error
리턴 string