Class ExceptionInfo
The exception info used for logging.
Inheritance
Implements
Namespace: DotNetNuke.Services.Exceptions
Assembly: DotNetNuke.dll
Syntax
public class ExceptionInfo : object, IExceptionInfo
Constructors
| Improve this Doc View SourceExceptionInfo()
Initializes a new instance of the ExceptionInfo class.
Declaration
public ExceptionInfo()
ExceptionInfo(Exception)
Initializes a new instance of the ExceptionInfo class.
Declaration
public ExceptionInfo(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e |
Properties
| Improve this Doc View SourceAssemblyVersion
The exception info used for logging.
Declaration
public string AssemblyVersion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ExceptionHash
The exception info used for logging.
Declaration
public string ExceptionHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileColumnNumber
The exception info used for logging.
Declaration
public int FileColumnNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FileLineNumber
The exception info used for logging.
Declaration
public int FileLineNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
FileName
The exception info used for logging.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InnerMessage
The exception info used for logging.
Declaration
public string InnerMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
InnerStackTrace
The exception info used for logging.
Declaration
public string InnerStackTrace { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Message
The exception info used for logging.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Method
The exception info used for logging.
Declaration
public string Method { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PortalId
The exception info used for logging.
Declaration
public int PortalId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RawUrl
The exception info used for logging.
Declaration
public string RawUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Referrer
The exception info used for logging.
Declaration
public string Referrer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Source
The exception info used for logging.
Declaration
public string Source { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StackTrace
The exception info used for logging.
Declaration
public string StackTrace { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TabId
The exception info used for logging.
Declaration
public int TabId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UserAgent
The exception info used for logging.
Declaration
public string UserAgent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UserId
The exception info used for logging.
Declaration
public int UserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceDeserialize(String)
The exception info used for logging.
Declaration
public void Deserialize(string content)
Parameters
Type | Name | Description |
---|---|---|
System.String | content |
ReadXml(XmlReader)
The exception info used for logging.
Declaration
public void ReadXml(XmlReader reader)
Parameters
Type | Name | Description |
---|---|---|
XmlReader | reader |
Serialize()
The exception info used for logging.
Declaration
public string Serialize()
Returns
Type | Description |
---|---|
System.String |
ToString()
The exception info used for logging.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
WriteXml(XmlWriter)
The exception info used for logging.
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
XmlWriter | writer |