Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    SchedulerThreadEventArgs Class

    Namespace: Stride.Core.MicroThreading
    Assembly: 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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation