Trace.BeginSection(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes a trace message to indicate that a given section of code has begun.
[Android.Runtime.Register("beginSection", "(Ljava/lang/String;)V", "")]
public static void BeginSection (string sectionName);
[<Android.Runtime.Register("beginSection", "(Ljava/lang/String;)V", "")>]
static member BeginSection : string -> unit
Parameters
- sectionName
- String
The name of the code section to appear in the trace. This may be at most 127 Unicode code units long.
- Attributes
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 #endSection()
on the same thread.
<p class="note"> 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.
Java documentation for android.os.Trace.beginSection(java.lang.String)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.