共用方式為


HandleErrorAttribute.ExceptionType Property

Gets or sets the type of the exception.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property ExceptionType As Type
    Get
    Set
public Type ExceptionType { get; set; }
public:
property Type^ ExceptionType {
    Type^ get ();
    void set (Type^ value);
}

Property Value

Type: System.Type
The type of the exception.

See Also

Reference

HandleErrorAttribute Class

System.Web.Mvc Namespace