ExceptionInfo Class
Namespace: Stride.Core.DiagnosticsAssembly: Stride.Core.dll
This class is used to store some properties of an exception. It is serializable.
[DataContract]
[Serializable]
public sealed class ExceptionInfo
Name | Description | |
---|---|---|
Constructors | ||
ExceptionInfo() | Initializes a new instance of the ExceptionInfo class with default values for its properties |
|
ExceptionInfo(Exception) | Initializes a new instance of the ExceptionInfo class from an System.Exception. |
|
Properties | ||
InnerExceptions | Gets or sets the ExceptionInfo of the inner exception. |
|
Message | Gets or sets the message of the exception. |
|
StackTrace | Gets or sets the stack trace of the exception. |
|
TypeFullName | Gets or sets the full name of the exception type. Should correspond to the System.Type.FullName property of the exception type. |
|
TypeName | Gets or sets the name of the exception type. Should correspond to the |
|
Methods | ||
ToString() |
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 System.Exception.
public ExceptionInfo(Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | exception | The 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
Type | Description |
---|---|
ExceptionInfo[] |
Message
Gets or sets the message of the exception.
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StackTrace
Gets or sets the stack trace of the exception.
public string StackTrace { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TypeFullName
Gets or sets the full name of the exception type. Should correspond to the System.Type.FullName property of the exception type.
public string TypeFullName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TypeName
Gets or sets the name of the exception type. Should correspond to the
public string TypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
public override string ToString()
Returns
Type | Description |
---|---|
System.String |