Skip to content

Applies to

netstandard2.0

Overloads

  • 1. public NewThreadScheduler()
  • 2. public NewThreadScheduler(Func<ThreadStart, Thread> threadFactory)

1. Overload

public NewThreadScheduler()

Summary: Creates an object that schedules each unit of work on a separate thread.

2. Overload

public NewThreadScheduler(Func<ThreadStart, Thread> threadFactory)

Summary: Creates an object that schedules each unit of work on a separate thread.

Parameters

NameTypeDescription
threadFactoryFuncFactory function for thread creation.

Exceptions

TypeCondition
System.ArgumentNullExceptionthreadFactory is null.