HandleExceptionArgs 类
定义
指定所发生异常的详细信息,以及关联 HTTP 响应的详细信息。Specifies details of an exception that has occurred and the details of the associated HTTP response.
public ref class HandleExceptionArgs
public class HandleExceptionArgs
type HandleExceptionArgs = class
Public Class HandleExceptionArgs
- 继承
-
HandleExceptionArgs
属性
| Exception |
获取或设置将处理并在响应中返回的异常。Gets or sets the exception that will be processed and returned in the response. |
| ResponseContentType |
获取响应内容类型。Gets the response content type. |
| ResponseStatusCode |
获取当数据服务上发生错误时将在响应的 HTTP 标头部分中发送回的状态代码。Gets the status code that will be sent back in the HTTP header section of the response when an error occurs on the data service. |
| ResponseWritten |
获取一个值,该值指示是否已写入了响应。Gets a value indicating whether the response has been written. |
| UseVerboseErrors |
获取或设置一个布尔值,该值指示是否将返回详细错误。Gets or sets a Boolean value that indicates whether verbose errors will be returned. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |