UnsupportedTargetAction
Gets or sets the action to take when the advice is applied to an unsupported target method.
Declaration
public UnsupportedTargetAction UnsupportedTargetAction { get; set; }Property Value
| Type | Description |
|---|---|
| UnsupportedTargetAction |
Remarks
By default, applying the advice to a target method that it does not support, for example a method that it cannot advise semantically, is a build-time error. Set this property to Ignore to skip such methods silently, or to Fallback to apply non-semantic advising when it is available.
Set this property on the master advice of a group. Setting it on an advice whose Master property is set is a build-time error.