Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Threading Namespace / Background­Attribute Class / Background­Attribute Methods

BackgroundAttribute Methods

The BackgroundAttribute type exposes the following members.

Methods
  NameDescription
Public methodCompileTimeInitialize
Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method.
(Inherited from MethodLevelAspect.)
Public methodCompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from Aspect.)
Public methodCompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from MethodLevelAspect.)
Public methodCompileTimeValidate(MethodBase)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Overrides MethodLevelAspect.CompileTimeValidate(MethodBase).)
Public methodGetAspectConfiguration
Method invoked at build tome to get the imperative configuration of the current Aspect.
(Inherited from Aspect.)
Public methodOnInvoke
Method invoked instead of the method to which the aspect has been applied.
(Overrides MethodInterceptionAspect.OnInvoke(MethodInterceptionArgs).)
Public methodOnInvokeAsync
Method invoked instead of the method to which the aspect has been applied.
(Overrides MethodInterceptionAspect.OnInvokeAsync(MethodInterceptionArgs).)
Public methodRuntimeInitialize
Initializes the current aspect.
(Inherited from MethodLevelAspect.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also