C# 클래스 BlueCollar.ExceptionXElement

Creates an XML Linq XElement from an Exception instance.
상속: System.Xml.Linq.XElement
파일 보기 프로젝트 열기: ChadBurggraf/blue-collar 1 사용 예제들

공개 메소드들

메소드 설명
ExceptionXElement ( Exception exception ) : System

Initializes a new instance of the ExceptionXElement class.

SerializeToXElement ( Exception exception ) : System.Xml.Linq.XElement

Serializes the given Exception to an XElement object.

메소드 상세

ExceptionXElement() 공개 메소드

Initializes a new instance of the ExceptionXElement class.
public ExceptionXElement ( Exception exception ) : System
exception System.Exception An Exception to create an XElement from.
리턴 System

SerializeToXElement() 공개 정적인 메소드

Serializes the given Exception to an XElement object.
public static SerializeToXElement ( Exception exception ) : System.Xml.Linq.XElement
exception System.Exception The Exception to serialize.
리턴 System.Xml.Linq.XElement