Share via


Trace.EndSection Method

Definition

Writes a trace message to indicate that a given section of code has ended.

[Android.Runtime.Register("endSection", "()V", "")]
public static void EndSection ();
[<Android.Runtime.Register("endSection", "()V", "")>]
static member EndSection : unit -> unit
Attributes

Remarks

Writes a trace message to indicate that a given section of code has ended. This call must be preceeded by a corresponding call to #beginSection(String). Calling this method will mark the end of the most recently begun section of code, so care must be taken to ensure that beginSection / endSection pairs are properly nested and called from the same thread.

Java documentation for android.os.Trace.endSection().

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.

Applies to