Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Marks the beginning of a new span.
Namespace:  Microsoft.ConcurrencyVisualizer.Instrumentation
Assembly:  Microsoft.ConcurrencyVisualizer.Markers (in Microsoft.ConcurrencyVisualizer.Markers.dll)
Syntax
'Declaration
Public Function EnterSpan ( _
    level As Importance, _
    category As Integer, _
    text As String _
) As Span
public Span EnterSpan(
    Importance level,
    int category,
    string text
)
public:
Span^ EnterSpan(
    Importance level, 
    int category, 
    String^ text
)
member EnterSpan : 
        level:Importance * 
        category:int * 
        text:string -> Span
public function EnterSpan(
    level : Importance, 
    category : int, 
    text : String
) : Span
Parameters
level
Type: Microsoft.ConcurrencyVisualizer.Instrumentation.ImportanceThe importance of the span.
category
Type: Int32The category of the span. Any integer is valid.
text
Type: 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.