C# Class Microsoft.CodeAnalysis.Sarif.ExceptionData

Inheritance: ISarifNode
Afficher le fichier Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Свойство Type Description
DeepCloneCore ISarifNode
GetInnerExceptions IList
ISarifNode ISarifNode
Init void

Méthodes publiques

Méthode Description
Create ( Exception exception ) : ExceptionData
DeepClone ( ) : ExceptionData

Creates a deep copy of this instance.

ExceptionData ( ) : System

Initializes a new instance of the ExceptionData class.

ExceptionData ( ExceptionData other ) : System

Initializes a new instance of the ExceptionData class from the specified instance.

ExceptionData ( string kind, string message, Stack stack, IEnumerable innerExceptions ) : System

Initializes a new instance of the ExceptionData class from the supplied values.

ValueEquals ( ExceptionData other ) : bool
ValueGetHashCode ( ) : int

Private Methods

Méthode Description
DeepCloneCore ( ) : ISarifNode
GetInnerExceptions ( Exception exception ) : IList
ISarifNode ( ) : ISarifNode
Init ( string kind, string message, Stack stack, IEnumerable innerExceptions ) : void

Method Details

Create() public static méthode

public static Create ( Exception exception ) : ExceptionData
exception System.Exception
Résultat ExceptionData

DeepClone() public méthode

Creates a deep copy of this instance.
public DeepClone ( ) : ExceptionData
Résultat ExceptionData

ExceptionData() public méthode

Initializes a new instance of the ExceptionData class.
public ExceptionData ( ) : System
Résultat System

ExceptionData() public méthode

Initializes a new instance of the ExceptionData class from the specified instance.
/// Thrown if is null. ///
public ExceptionData ( ExceptionData other ) : System
other ExceptionData /// The instance from which the new instance is to be initialized. ///
Résultat System

ExceptionData() public méthode

Initializes a new instance of the ExceptionData class from the supplied values.
public ExceptionData ( string kind, string message, Stack stack, IEnumerable innerExceptions ) : System
kind string /// An initialization value for the property. ///
message string /// An initialization value for the property. ///
stack Stack /// An initialization value for the property. ///
innerExceptions IEnumerable /// An initialization value for the property. ///
Résultat System

ValueEquals() public méthode

public ValueEquals ( ExceptionData other ) : bool
other ExceptionData
Résultat bool

ValueGetHashCode() public méthode

public ValueGetHashCode ( ) : int
Résultat int