SchedulerThreadEventArgs Class
Namespace: Stride.Core.MicroThreadingAssembly: Stride.Core.MicroThreading.dll
Provides data for the MicroThreadStarted, MicroThreadEnded, MicroThreadCallbackStart and MicroThreadCallbackEnd events.
System.Object → System.EventArgs →
SchedulerThreadEventArgs
Derived from SchedulerThreadEventArgs:
public class SchedulerThreadEventArgs : EventArgs
Name | Description | |
---|---|---|
Constructors | ||
SchedulerThreadEventArgs(MicroThread, Int32) | Initializes a new instance of the SchedulerThreadEventArgs class. |
|
Properties | ||
MicroThread | Gets the MicroThread this event concerns. |
|
ThreadId | Gets the System.Threading.Thread.ManagedThreadId active when this event happened. |
Constructors
SchedulerThreadEventArgs(MicroThread, Int32)
Initializes a new instance of the SchedulerThreadEventArgs class.
public SchedulerThreadEventArgs(MicroThread microThread, int threadId)
Parameters
Type | Name | Description |
---|---|---|
MicroThread | microThread | The micro thread. |
System.Int32 | threadId | The managed thread identifier. |
Properties
MicroThread
Gets the MicroThread this event concerns.
public MicroThread MicroThread { get; }
Property Value
Type | Description |
---|---|
MicroThread | The micro thread. |
ThreadId
Gets the System.Threading.Thread.ManagedThreadId active when this event happened.
public int ThreadId { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The managed thread identifier. |
Inherited Members
System.EventArgs.Empty