Microsoft.CodeAnalysis.Sarif.ExceptionData.ExceptionData C# (CSharp) Method

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
        public ExceptionData(ExceptionData other)
        {
            if (other == null)
            {
                throw new ArgumentNullException(nameof(other));
            }

            Init(other.Kind, other.Message, other.Stack, other.InnerExceptions);
        }

Same methods

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