/// <summary> /// Initializes a new instance of the BackgroundThreadPoolJob class /// </summary> /// <param name="startInfo">The start information regarding thread arguments and a callback method</param> public BackgroundThreadPoolJob(string name, BackgroundThreadStartInfo startInfo) { _id = Guid.NewGuid(); _name = name; _startInfo = startInfo; _state = BackgroundThreadPoolJobStates.Waiting; }
// internal bool _cancelled; /// <summary> /// Initializes a new instance of the BackgroundThreadPoolJob class /// </summary> /// <param name="startInfo">The start information regarding thread arguments and a callback method</param> public BackgroundThreadPoolJob(string name, BackgroundThreadStartInfo startInfo) { _id = Guid.NewGuid(); _name = name; _startInfo = startInfo; _state = BackgroundThreadPoolJobStates.Waiting; }