Dela via


EventLog.WriteEventAsync Method

Definition

Overloads

WriteEventAsync(Int32, Single)
WriteEventAsync(Int32, Object[])
WriteEventAsync(Int32, Int32)
WriteEventAsync(Int32, Int64)
WriteEventAsync(Int32, String)

WriteEventAsync(Int32, Single)

public static System.Threading.Tasks.Task<int> WriteEventAsync (int tag, float value);
static member WriteEventAsync : int * single -> System.Threading.Tasks.Task<int>

Parameters

tag
Int32
value
Single

Returns

Remarks

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

WriteEventAsync(Int32, Object[])

public static System.Threading.Tasks.Task<int> WriteEventAsync (int tag, params Java.Lang.Object[]? list);
static member WriteEventAsync : int * Java.Lang.Object[] -> System.Threading.Tasks.Task<int>

Parameters

tag
Int32
list
Object[]

Returns

Remarks

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

WriteEventAsync(Int32, Int32)

public static System.Threading.Tasks.Task<int> WriteEventAsync (int tag, int value);
static member WriteEventAsync : int * int -> System.Threading.Tasks.Task<int>

Parameters

tag
Int32
value
Int32

Returns

Remarks

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

WriteEventAsync(Int32, Int64)

public static System.Threading.Tasks.Task<int> WriteEventAsync (int tag, long value);
static member WriteEventAsync : int * int64 -> System.Threading.Tasks.Task<int>

Parameters

tag
Int32
value
Int64

Returns

Remarks

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

WriteEventAsync(Int32, String)

public static System.Threading.Tasks.Task<int> WriteEventAsync (int tag, string? str);
static member WriteEventAsync : int * string -> System.Threading.Tasks.Task<int>

Parameters

tag
Int32
str
String

Returns

Remarks

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