Markers.EnterSpan Method (Int32, 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 ( _
category As Integer, _
text As String _
) As Span
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 static function EnterSpan(
category : int,
text : String
) : 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.
.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.