Markers.EnterSpan Method (Importance, String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Marks the beginning of a new span.
Namespace: Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly: Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
'Declaration
Public Shared Function EnterSpan ( _
level As Importance, _
text As String _
) As Span
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 static function EnterSpan(
level : Importance,
text : String
) : 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.