TaskAsyncActionDescriptor.GetFilterAttributes Method

Returns an array of all custom attributes applied to this member.

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

public override IEnumerable<FilterAttribute> GetFilterAttributes(
	bool useCache
)

Parameters

useCache
Type: System.Boolean

true to search this member's inheritance chain to find the attributes; otherwise, false.

Return Value

Type: System.Collections.Generic.IEnumerable<FilterAttribute>
An array that contains all the custom attributes applied to this member, or an array with zero elements if no attributes are defined.
Show: