Exemple #1
0
 /// <summary>
 /// Initialize a new instance with a specified <see cref="PostHandlingAction"/>.
 /// </summary>
 /// <param name="name">The configured name.</param>
 /// <param name="type">The full type name of any <see cref="System.Exception"/>.</param>
 /// <param name="postHandlingAction">One of the <see cref="PostHandlingAction"/> values.</param>
 public ExceptionTypeData(string name, string type, PostHandlingAction postHandlingAction)
 {
     this.name = name;
     this.type = type;
     this.postHandlingAction = postHandlingAction;
     this.exceptionHandlers = new ExceptionHandlerDataCollection();
 }
Exemple #2
0
 /// <summary>
 /// Initialize a new instance with a specified <see cref="PostHandlingAction"/>.
 /// </summary>
 /// <param name="name">The configured name.</param>
 /// <param name="type">The full type name of any <see cref="System.Exception"/>.</param>
 /// <param name="postHandlingAction">One of the <see cref="PostHandlingAction"/> values.</param>
 public ExceptionTypeData(string name, string type, PostHandlingAction postHandlingAction)
 {
     this.name = name;
     this.type = type;
     this.postHandlingAction = postHandlingAction;
     this.exceptionHandlers  = new ExceptionHandlerDataCollection();
 }