次の方法で共有


DebugTracerGraphModelHelper.TraceMessageIfTrackingGraphElements Method

Definition

Overloads

TraceMessageIfTrackingGraphElements(GraphObject, GraphProperty, DebugCategory, Boolean, String, Object[])

Calls Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer.TraceMessage(Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory,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)

TraceMessageIfTrackingGraphElements(GraphObject, String, DebugCategory, Boolean, String, Object[])

Calls Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer.TraceMessage(Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory,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)

TraceMessageIfTrackingGraphElements(GraphObject, GraphProperty, DebugCategory, Boolean, String, Object[])

Calls Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer.TraceMessage(Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory,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 TraceMessageIfTrackingGraphElements(Microsoft::VisualStudio::GraphModel::GraphObject ^ obj, Microsoft::VisualStudio::GraphModel::GraphProperty ^ prop, Microsoft::VisualStudio::Diagnostics::PerformanceProvider::DebugTrace::DebugCategory category, bool includeStackTrace, System::String ^ message, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.Conditional("DEBUG")]
public static void TraceMessageIfTrackingGraphElements (Microsoft.VisualStudio.GraphModel.GraphObject obj, Microsoft.VisualStudio.GraphModel.GraphProperty prop, Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory category, bool includeStackTrace, string message, params object[] args);
[<System.Diagnostics.Conditional("DEBUG")>]
static member TraceMessageIfTrackingGraphElements : Microsoft.VisualStudio.GraphModel.GraphObject * Microsoft.VisualStudio.GraphModel.GraphProperty * Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory * bool * string * obj[] -> unit
Public Sub TraceMessageIfTrackingGraphElements (obj As GraphObject, prop As GraphProperty, category As DebugCategory, 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
includeStackTrace
Boolean
message
String
args
Object[]
Attributes

Applies to

TraceMessageIfTrackingGraphElements(GraphObject, String, DebugCategory, Boolean, String, Object[])

Calls Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.IDebugTracer.TraceMessage(Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory,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 TraceMessageIfTrackingGraphElements(Microsoft::VisualStudio::GraphModel::GraphObject ^ obj, System::String ^ propertyId, Microsoft::VisualStudio::Diagnostics::PerformanceProvider::DebugTrace::DebugCategory category, bool includeStackTrace, System::String ^ message, ... cli::array <System::Object ^> ^ args);
[System.Diagnostics.Conditional("DEBUG")]
public static void TraceMessageIfTrackingGraphElements (Microsoft.VisualStudio.GraphModel.GraphObject obj, string propertyId, Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory category, bool includeStackTrace, string message, params object[] args);
[<System.Diagnostics.Conditional("DEBUG")>]
static member TraceMessageIfTrackingGraphElements : Microsoft.VisualStudio.GraphModel.GraphObject * string * Microsoft.VisualStudio.Diagnostics.PerformanceProvider.DebugTrace.DebugCategory * bool * string * obj[] -> unit
Public Sub TraceMessageIfTrackingGraphElements (obj As GraphObject, propertyId As String, category As DebugCategory, 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
includeStackTrace
Boolean
message
String
args
Object[]
Attributes

Applies to