PostSharpAPI ReferencePost­Sharp.​Aspects.​ConfigurationOn­Exception­Aspect­Configuration­AttributeSet­Aspect­Configuration
Open sandboxFocus

OnExceptionAspectConfigurationAttribute.SetAspectConfiguration Method

SetAspectConfiguration(AspectConfiguration)

Sets up an AspectConfiguration object according to the current custom attribute instance.

Declaration
protected override void SetAspectConfiguration(AspectConfiguration aspectConfiguration)
Parameters
Type Name Description
AspectConfiguration aspectConfiguration

The AspectConfiguration instance previously returned by the CreateAspectConfiguration() method.

Overrides
AspectConfigurationAttribute.SetAspectConfiguration(AspectConfiguration)
Remarks

Classes overriding this method must always invoke the base implementation before performing their own changes to the AspectConfiguration.