TaskAsyncActionDescriptor.IsDefined(Type, Boolean) Method

Definition

Returns a value that indicates whether one or more instance of the specified custom attribute are defined for this member.

C#
public override bool IsDefined (Type attributeType, bool inherit);

Parameters

attributeType
Type

The type of the custom attribute.

inherit
Boolean

true to look up the hierarchy chain for the inherited custom attribute; otherwise, false.

Returns

A value that indicates whether one or more instance of the specified custom attribute are defined for this member.

Applies to

Product Versions
ASP.NET MVC 5.2