语言

HostSettings.IncludeExceptionDetailInFaults 属性

定义

获取或设置异常详细信息是否包含在错误中。

public:
 property bool IncludeExceptionDetailInFaults { bool get(); void set(bool value); };
public bool IncludeExceptionDetailInFaults { get; set; }
member this.IncludeExceptionDetailInFaults : bool with get, set
Public Property IncludeExceptionDetailInFaults As Boolean

属性值

true 如果故障中包含异常详细信息,则为 ;否则,为 false.

适用于