Class ExceptionInfo
- Namespace
- Stride.Core.Diagnostics
- Assembly
- Stride.Core.dll
This class is used to store some properties of an exception. It is serializable.
[DataContract]
[Serializable]
public sealed class ExceptionInfo
- Inheritance
-
ExceptionInfo
Constructors
ExceptionInfo()
Initializes a new instance of the ExceptionInfo class with default values for its properties
public ExceptionInfo()
ExceptionInfo(Exception)
Initializes a new instance of the ExceptionInfo class from an Exception.
public ExceptionInfo(Exception exception)
Parameters
exception
ExceptionThe exception used to initialize the properties of this instance.
Properties
InnerExceptions
Gets or sets the ExceptionInfo of the inner exception.
public ExceptionInfo[] InnerExceptions { get; set; }
Property Value
Message
Gets or sets the message of the exception.
public string Message { get; set; }
Property Value
StackTrace
Gets or sets the stack trace of the exception.
public string StackTrace { get; set; }
Property Value
TypeFullName
Gets or sets the full name of the exception type. Should correspond to the FullName property of the exception type.
public string TypeFullName { get; set; }
Property Value
TypeName
Gets or sets the name of the exception type. Should correspond to the Name property of the exception type.
public string TypeName { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.