共用方式為


ReflectedAsyncControllerDescriptor.GetCustomAttributes Method

Include Protected Members
Include Inherited Members

Returns custom attributes that are defined for this member, excluding named attributes.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetCustomAttributes(Boolean) Returns custom attributes that are defined for this member, excluding named attributes. (Overrides ControllerDescriptor.GetCustomAttributes(Boolean).)
Public method GetCustomAttributes(Type, Boolean) Returns custom attributes of a specified type that are defined for this member, excluding named attributes. (Overrides ControllerDescriptor.GetCustomAttributes(Type, Boolean).)

Top

Remarks

If there are no custom attributes, this method returns an empty array.

See Also

Reference

ReflectedAsyncControllerDescriptor Class

System.Web.Mvc.Async Namespace