Aspect.UnsupportedTargetAction Property |
Specifies the action to take when the aspect is applied to an unsupported target element. This property affects only simple aspects, not composite aspects.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 6.6.14.0 (6.6.14.0)
C#
public UnsupportedTargetAction UnsupportedTargetAction { get; set; }
Property Value
Type: UnsupportedTargetAction
This property only affects the built-in advices of the simple aspect classes, not advices of composite aspects. See the conceptual documentation for details. For composite aspects, use the UnsupportedTargetAction property of the advice custom attribute, e.g. UnsupportedTargetAction.