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
Implements
Namespace: PostSharp.Patterns.Diagnostics.ThreadingInstrumentation
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
[RequirePostSharp("PostSharp.Patterns.Diagnostics.Weaver", null)]
[AttributeUsage(AttributeTargets.Assembly)]
[LinesOfCodeAvoided(0)]
[Serializer(typeof(ThreadingInstrumentationPolicy.Serializer))]
public sealed class ThreadingInstrumentationPolicy : AssemblyLevelAspect, IAspectBuildSemantics, IValidableAnnotation, IAssemblyLevelAspect, IAssemblyLevelAspectBuildSemantics, IAspectProvider, IAspect, IService
Constructors
Name | Description |
---|---|
ThreadingInstrumentationPolicy() | |
ThreadingInstrumentationPolicy(PortableFormatterConstructorContext) |