Exemple #1
0
 /// <summary>
 /// 从<see cref ="ConfigurationElementCollection"/>中删除指定的<see cref ="ExceptionHandlerElement"/>.
 /// </summary>
 /// <param name="handler"> <see cref="ExceptionHandlerElement"/> 删除.</param>
 public void Remove(ExceptionHandlerElement handler)
 {
     base.BaseRemove(this.GetElementKey(handler));
 }
Exemple #2
0
 /// <summary>
 /// 将指定的<see cref =“ExceptionHandlerElement”/>添加到<see cref =“ConfigurationElementCollection”/>.
 /// </summary>
 /// <param name="handler">The <see cref="ExceptionHandlerElement"/> to add.</param>
 public void Add(ExceptionHandlerElement handler)
 {
     base.BaseAdd(handler);
 }