Наследование: System.Attribute
Пример #1
0
 /// <summary>
 /// Initializes a new instance of the SyntaxException class.
 /// </summary>
 /// <para>Takes in a message associated with the exception, an inner exception, and a
 ///  related <see cref="SyntaxAttribute"/> object.</para>
 /// <param name="message">The message of the exception.</param>
 /// <param name="inner">The inner exception.</param>
 /// <param name="syntaxAttribute">The <see cref="SyntaxAttribute"/> object associated with this exception.</param>
 public SyntaxException(string message, Exception inner, SyntaxAttribute syntaxAttribute)
     : base(message, inner)
 {
     this.syntaxAttribute = syntaxAttribute;
 }
 /// <summary>
 /// Initializes a new instance of the SyntaxException class.
 /// </summary>
 /// <para>Takes in a message associated with the exception, an inner exception, and a
 ///  related <see cref="SyntaxAttribute"/> object.</para>
 /// <param name="message">The message of the exception.</param>
 /// <param name="inner">The inner exception.</param>
 /// <param name="syntaxAttribute">The <see cref="SyntaxAttribute"/> object associated with this exception.</param>
 public SyntaxException(string message, Exception inner, SyntaxAttribute syntaxAttribute)
     : base(message, inner)
 {
     this.syntaxAttribute = syntaxAttribute;
 }