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

属性值

Boolean

若服务返回异常,则为 true;否则为 falsetrue if the service returns exceptions; otherwise, false. 默认值为 falseThe default is false.

属性

适用于