PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Threading­InstrumentationThreading­Instrumentation­Policy
Open sandboxFocus

ThreadingInstrumentationPolicy Class

Policy (assembly-level aspect) that instruments the System.Threading and System.Threading.Tasks APIes to enable for semantic logging of multi-threaded or multi-tasked programs.

Inheritance
ThreadingInstrumentationPolicy
Namespace: PostSharp.Patterns.Diagnostics.ThreadingInstrumentation
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
[RequirePostSharp("PostSharp.Patterns.Diagnostics.Weaver", null)]
[LinesOfCodeAvoided(0)]
[Serializer]
public sealed class ThreadingInstrumentationPolicy : AssemblyLevelAspect, IAspectBuildSemantics, IValidableAnnotation, IAssemblyLevelAspect, IAssemblyLevelAspectBuildSemantics, IAspectProvider, IAspect, IService

Constructors

Name Description
ThreadingInstrumentationPolicy()
ThreadingInstrumentationPolicy(PortableFormatterConstructorContext)

Methods

Name Description
InterceptMethodsReturningTask(MethodInterceptionArgs)

Explicit Interface Implementations

Name Description
IAspectProvider.ProvideAspects(Object)