Markers.EnterSpan Method (Importance, Int32, String)
Marks the beginning of a new span.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
public static Span EnterSpan(
Importance level,
int category,
string text
)
public:
static Span^ EnterSpan(
Importance level,
int category,
String^ text
)
static member EnterSpan :
level:Importance *
category:int *
text:string -> Span
Public Shared Function EnterSpan (
level As Importance,
category As Integer,
text As String
) As Span
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance of the span.
category
Type: System.Int32The category of the span. Any integer is valid.
text
Type: System.StringA description of the span.
Return Value
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.Span
Returns Span.
See Also
EnterSpan Overload
Markers Class
Microsoft.ConcurrencyVisualizer.Instrumentation Namespace
Return to top