语言

DiagnosticsElement.SuppressReturningExceptions 属性

定义

获取或设置一个值,该值指示服务是否返回异常。

public:
 property bool SuppressReturningExceptions { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("suppressReturningExceptions", DefaultValue=false)]
public bool SuppressReturningExceptions { get; set; }
[<System.Configuration.ConfigurationProperty("suppressReturningExceptions", DefaultValue=false)>]
member this.SuppressReturningExceptions : bool with get, set
Public Property SuppressReturningExceptions As Boolean

属性值

true 如果服务返回异常,则为否则,为 false. 默认值为 false。

属性

适用于