Markers.EnterSpan Method (Importance, 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,
string text
)
public:
static Span^ EnterSpan(
Importance level,
String^ text
)
static member EnterSpan :
level:Importance *
text:string -> Span
Public Shared Function EnterSpan (
level As Importance,
text As String
) As Span
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance of the span.
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