Open sandboxFocus

Property UnsupportedTargetAction

UnsupportedTargetAction

Gets or sets the action to take when the aspect is applied to an unsupported target element. This property affects only simple aspects, not composite aspects.

Declaration
public UnsupportedTargetAction UnsupportedTargetAction { get; set; }
Property Value
Type Description
UnsupportedTargetAction
Remarks

This property affects only the built-in advices of the simple aspect classes, not advices of composite aspects. See Developing Custom Aspects for details. For composite aspects, use the UnsupportedTargetAction property of the advice custom attribute, for example UnsupportedTargetAction.