Android.OS.Trace.BeginSection Method
Writes a trace message to indicate that a given section of code has begun.

Syntax

[Android.Runtime.Register("beginSection", "(Ljava/lang/String;)V", "")]
public static void BeginSection (string sectionName)

Parameters

sectionName
The name of the code section to appear in the trace. This may be at most 127 Unicode code units long.

Remarks

Writes a trace message to indicate that a given section of code has begun. This call must be followed by a corresponding call to Trace.EndSection on the same thread.

At this time the vertical bar character '|', newline character '\n', and null character '\0' are used internally by the tracing mechanism. If sectionName contains these characters they will be replaced with a space character in the trace.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18