Partager via


Support.StartTracing Method

Applies To: Windows 8.1

Begins advanced ETW tracing using a Windows Performance Analyzer (WPA) profile.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As Support
Dim profileFileName As String
Dim profileName As String

instance.StartTracing(profileFileName, profileName)

Syntax

'Declaration
Public Sub StartTracing ( _
    profileFileName As String, _
    profileName As String _
)
public void StartTracing (
    string profileFileName,
    string profileName
)
public:
void StartTracing (
    String^ profileFileName, 
    String^ profileName
)
public void StartTracing (
    String profileFileName, 
    String profileName
)
public function StartTracing (
    profileFileName : String, 
    profileName : String
)

Parameters

  • profileFileName
    The name of the WPA file that contains the profile.
  • profileName
    The name of the WPA profile to use for tracing.

Remarks

This method does not trace data to the AXE ETW logging session. Instead, it begins an advanced ETW tracing session using a profile from WPA.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Support Class
Support Members
Microsoft.Assessments.Runtime Namespace