DiagnosticsElement.SuppressReturningExceptions 属性
定义
获取或设置一个值,该值表明服务是否返回异常。Gets or sets a value that indicates whether the service returns exceptions.
public:
property bool SuppressReturningExceptions { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("suppressReturningExceptions", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public bool SuppressReturningExceptions { get; set; }
[<System.Configuration.ConfigurationProperty("suppressReturningExceptions", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.SuppressReturningExceptions : bool with get, set
Public Property SuppressReturningExceptions As Boolean
属性值
若服务返回异常,则为 true;否则为 false。true if the service returns exceptions; otherwise, false. 默认值为 false。The default is false.
- 属性