Markers.EnterSpan Method (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(
int category,
string text
)
public:
static Span^ EnterSpan(
int category,
String^ text
)
static member EnterSpan :
category:int *
text:string -> Span
Public Shared Function EnterSpan (
category As Integer,
text As String
) As Span
Parameters
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