Table of Contents

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 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

ExceptionInfo[]

Message

Gets or sets the message of the exception.

public string Message { get; set; }

Property Value

string

StackTrace

Gets or sets the stack trace of the exception.

public string StackTrace { get; set; }

Property Value

string

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

string

TypeName

Gets or sets the name of the exception type. Should correspond to the Type.Name property of the exception type.

public string TypeName { get; set; }

Property Value

string

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.