WebHttpElement.FaultExceptionEnabled 属性     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于指定在发生内部服务器错误(HTTP 状态代码:500)时是否生成 FaultException 的标志。
public:
 property bool FaultExceptionEnabled { bool get(); void set(bool value); };
	[System.Configuration.ConfigurationProperty("faultExceptionEnabled")]
public bool FaultExceptionEnabled { get; set; }
	[<System.Configuration.ConfigurationProperty("faultExceptionEnabled")>]
member this.FaultExceptionEnabled : bool with get, set
	Public Property FaultExceptionEnabled As Boolean
	属性值
如果启用该标志,则返回 true;否则返回 false。
- 属性