Share via


Trace.EndAsyncSection(String, Int32) Method

Definition

Writes a trace message to indicate that the current method has ended.

[Android.Runtime.Register("endAsyncSection", "(Ljava/lang/String;I)V", "", ApiSince=29)]
public static void EndAsyncSection (string methodName, int cookie);
[<Android.Runtime.Register("endAsyncSection", "(Ljava/lang/String;I)V", "", ApiSince=29)>]
static member EndAsyncSection : string * int -> unit

Parameters

methodName
String

The method name to appear in the trace.

cookie
Int32

Unique identifier for distinguishing simultaneous events

Attributes

Remarks

Writes a trace message to indicate that the current method has ended. Must be called exactly once for each call to #beginAsyncSection(String, int) using the same name and cookie.

Java documentation for android.os.Trace.endAsyncSection(java.lang.String, int).

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