C# Class BlueCollar.ExceptionXElement

Creates an XML Linq XElement from an Exception instance.
Inheritance: System.Xml.Linq.XElement
Afficher le fichier Open project: ChadBurggraf/blue-collar Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

ExceptionXElement() public méthode

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

SerializeToXElement() public static méthode

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