C# Class Microsoft.CodeAnalysis.Sarif.ExceptionData

Inheritance: ISarifNode
ファイルを表示 Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
GetInnerExceptions IList
ISarifNode ISarifNode
Init void

Public Methods

Method 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

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

Method Details

Create() public static method

public static Create ( Exception exception ) : ExceptionData
exception System.Exception
return ExceptionData

DeepClone() public method

Creates a deep copy of this instance.
public DeepClone ( ) : ExceptionData
return ExceptionData

ExceptionData() public method

Initializes a new instance of the ExceptionData class.
public ExceptionData ( ) : System
return System

ExceptionData() public method

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. ///
return System

ExceptionData() public method

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. ///
return System

ValueEquals() public method

public ValueEquals ( ExceptionData other ) : bool
other ExceptionData
return bool

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int