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

适用于