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