DebugTracerGraphModelHelper.TraceStateIfTrackingGraphElements Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TraceStateIfTrackingGraphElements(GraphObject, GraphProperty, DebugCategory, ITraceableIdentifiableObject, Boolean, Boolean, String, Object[]) |
Calls Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer.TraceState(Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory,Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject,System.Boolean,System.Boolean,System.String,System.Object[]) if object is being tracked and property is being tracked. Not setting any property filters will emit minimal information to reduce overhead. Also calls ShouldTraceObject(Object) and ShouldTraceProperty(GraphProperty) |
TraceStateIfTrackingGraphElements(GraphObject, String, DebugCategory, ITraceableIdentifiableObject, Boolean, Boolean, String, Object[]) |
Calls Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer.TraceState(Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory,Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject,System.Boolean,System.Boolean,System.String,System.Object[]) if object is being tracked and property is being tracked. Not setting any property filters will emit minimal information to reduce overhead. Also calls ShouldTraceObject(Object) and ShouldTraceProperty(GraphProperty) |
TraceStateIfTrackingGraphElements(GraphObject, GraphProperty, DebugCategory, ITraceableIdentifiableObject, Boolean, Boolean, String, Object[])
Calls Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer.TraceState(Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory,Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject,System.Boolean,System.Boolean,System.String,System.Object[]) if object is being tracked and property is being tracked. Not setting any property filters will emit minimal information to reduce overhead. Also calls ShouldTraceObject(Object) and ShouldTraceProperty(GraphProperty)
public:
static void TraceStateIfTrackingGraphElements(Microsoft::VisualStudio::GraphModel::GraphObject ^ obj, Microsoft::VisualStudio::GraphModel::GraphProperty ^ prop, Microsoft::VisualStudio::Diagnostics::PerformanceProvider::DebugTrace::DebugCategory category, Microsoft::VisualStudio::Diagnostics::PerformanceProvider::DebugTrace::ITraceableIdentifiableObject ^ dbg, bool showDetailedState, bool includeStackTrace, System::String ^ message, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.Conditional("DEBUG")]
public static void TraceStateIfTrackingGraphElements (Microsoft.VisualStudio.GraphModel.GraphObject obj, Microsoft.VisualStudio.GraphModel.GraphProperty prop, Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory category, Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject dbg, bool showDetailedState, bool includeStackTrace, string message, params object[] args);
[<System.Diagnostics.Conditional("DEBUG")>]
static member TraceStateIfTrackingGraphElements : Microsoft.VisualStudio.GraphModel.GraphObject * Microsoft.VisualStudio.GraphModel.GraphProperty * Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory * Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject * bool * bool * string * obj[] -> unit
Public Sub TraceStateIfTrackingGraphElements (obj As GraphObject, prop As GraphProperty, category As DebugCategory, dbg As ITraceableIdentifiableObject, showDetailedState As Boolean, includeStackTrace As Boolean, message As String, ParamArray args As Object())
Parameters
- obj
- GraphObject
Conditional object. If null the condition is ignored
- prop
- GraphProperty
Conditional property. If null the condition is ignored
- category
- Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory
- dbg
- Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject
- showDetailedState
- Boolean
- includeStackTrace
- Boolean
- message
- String
- args
- Object[]
- Attributes
Applies to
TraceStateIfTrackingGraphElements(GraphObject, String, DebugCategory, ITraceableIdentifiableObject, Boolean, Boolean, String, Object[])
Calls Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer.TraceState(Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory,Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject,System.Boolean,System.Boolean,System.String,System.Object[]) if object is being tracked and property is being tracked. Not setting any property filters will emit minimal information to reduce overhead. Also calls ShouldTraceObject(Object) and ShouldTraceProperty(GraphProperty)
public:
static void TraceStateIfTrackingGraphElements(Microsoft::VisualStudio::GraphModel::GraphObject ^ obj, System::String ^ propertyId, Microsoft::VisualStudio::Diagnostics::PerformanceProvider::DebugTrace::DebugCategory category, Microsoft::VisualStudio::Diagnostics::PerformanceProvider::DebugTrace::ITraceableIdentifiableObject ^ dbg, bool showDetailedState, bool includeStackTrace, System::String ^ message, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.Conditional("DEBUG")]
public static void TraceStateIfTrackingGraphElements (Microsoft.VisualStudio.GraphModel.GraphObject obj, string propertyId, Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory category, Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject dbg, bool showDetailedState, bool includeStackTrace, string message, params object[] args);
[<System.Diagnostics.Conditional("DEBUG")>]
static member TraceStateIfTrackingGraphElements : Microsoft.VisualStudio.GraphModel.GraphObject * string * Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory * Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject * bool * bool * string * obj[] -> unit
Public Sub TraceStateIfTrackingGraphElements (obj As GraphObject, propertyId As String, category As DebugCategory, dbg As ITraceableIdentifiableObject, showDetailedState As Boolean, includeStackTrace As Boolean, message As String, ParamArray args As Object())
Parameters
- obj
- GraphObject
Conditional object. If null the condition is ignored
- propertyId
- String
Conditional property id. If null the condition is ignored
- category
- Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory
- dbg
- Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.ITraceableIdentifiableObject
- showDetailedState
- Boolean
- includeStackTrace
- Boolean
- message
- String
- args
- Object[]
- Attributes