ProfileAttribute Class

MNG Profiler

MNG.Direct Documentation
Members 


MNG.Profiler Namespace : ProfileAttribute Class
ProfileAttribute Class
Attribute that allows users log the amount of time a method took to execute.
Syntax
'Declaration
 
<PostSharp.Serialization.SerializerAttribute(MNG.Profiler.ProfileAttribute+Serializer)>
Public NotInheritable Class ProfileAttribute 
   Inherits PostSharp.Aspects.OnMethodBoundaryAspect
   Implements PostSharp.Aspects.IAspect, PostSharp.Aspects.IAspectBuildSemantics, PostSharp.Aspects.IMethodLevelAspect, PostSharp.Aspects.IMethodLevelAspectBuildSemantics, PostSharp.Aspects.IOnMethodBoundaryAspect, PostSharp.Aspects.IOnStateMachineBoundaryAspect, PostSharp.Extensibility.IValidableAnnotation 
'Usage
 
Dim instance As ProfileAttribute
[PostSharp.Serialization.Serializer(MNG.Profiler.ProfileAttribute+Serializer)]
public sealed class ProfileAttribute : PostSharp.Aspects.OnMethodBoundaryAspect, PostSharp.Aspects.IAspect, PostSharp.Aspects.IAspectBuildSemantics, PostSharp.Aspects.IMethodLevelAspect, PostSharp.Aspects.IMethodLevelAspectBuildSemantics, PostSharp.Aspects.IOnMethodBoundaryAspect, PostSharp.Aspects.IOnStateMachineBoundaryAspect, PostSharp.Extensibility.IValidableAnnotation  
[PostSharp.Serialization.Serializer(MNG.Profiler.ProfileAttribute+Serializer)]
public ref class ProfileAttribute sealed : public PostSharp.Aspects.OnMethodBoundaryAspect, PostSharp.Aspects.IAspect, PostSharp.Aspects.IAspectBuildSemantics, PostSharp.Aspects.IMethodLevelAspect, PostSharp.Aspects.IMethodLevelAspectBuildSemantics, PostSharp.Aspects.IOnMethodBoundaryAspect, PostSharp.Aspects.IOnStateMachineBoundaryAspect, PostSharp.Extensibility.IValidableAnnotation  
Inheritance Hierarchy

System.Object
   System.Attribute
      PostSharp.Extensibility.MulticastAttribute
         PostSharp.Aspects.Aspect
            PostSharp.Aspects.MethodLevelAspect
               PostSharp.Aspects.OnMethodBoundaryAspect
                  MNG.Profiler.ProfileAttribute

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also