Freigeben über


LogRecord.ThreadID Property

Definition

Get an identifier for the thread where the message originated. -or- Set an identifier for the thread where the message originated.

public virtual int ThreadID { [Android.Runtime.Register("getThreadID", "()I", "GetGetThreadIDHandler")] get; [Android.Runtime.Register("setThreadID", "(I)V", "GetSetThreadID_IHandler")] set; }
[<get: Android.Runtime.Register("getThreadID", "()I", "GetGetThreadIDHandler")>]
[<set: Android.Runtime.Register("setThreadID", "(I)V", "GetSetThreadID_IHandler")>]
member this.ThreadID : int with get, set

Property Value

thread ID

Attributes

Remarks

Property getter documentation:

Get an identifier for the thread where the message originated.

This is a thread identifier within the Java VM and may or may not map to any operating system ID.

Java documentation for java.util.logging.LogRecord.getThreadID().

Property setter documentation:

Set an identifier for the thread where the message originated.

Java documentation for java.util.logging.LogRecord.setThreadID(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