PostSharpAPI ReferencePost­Sharp.​AspectsOn­Exception­AspectCreate­Aspect­Configuration
Open sandboxFocus

OnExceptionAspect.CreateAspectConfiguration Method

CreateAspectConfiguration()

Method invoked at build time to create a concrete AspectConfiguration instance specifically for the current Aspect type.

Declaration
protected sealed override AspectConfiguration CreateAspectConfiguration()
Returns
Type Description
AspectConfiguration

A new and empty instance of AspectConfiguration, whose concrete type corresponds to the concrete type of the Aspect.

Overrides
Aspect.CreateAspectConfiguration()
Remarks

This method should not set up the returned AspectConfiguration. After the current method has returned, the SetAspectConfiguration(AspectConfiguration, Object) method will be invoked, and this method is responsible for setting up the AspectConfigurationobject.

See Also