Table of Contents

Class ThreadSettings

Namespace
CMS.Base
Assembly
CMS.Base.dll

The ThreadSettings class specifies basic features of a CMSThread.

public sealed class ThreadSettings
Inheritance
object
ThreadSettings
Extension Methods

Constructors

ThreadSettings()

public ThreadSettings()

Properties

IsBackground

Gets or sets a value indicating whether or not a thread is a background thread. Applies only to thread which run in Async mode.

public bool IsBackground { get; set; }

Property Value

bool

Mode

Thread mode indicating whether the thread runs asynchronously, synchronously, or represents a wrapper for an anonymous thread.

public ThreadModeEnum Mode { get; set; }

Property Value

ThreadModeEnum

Priority

Specifies the scheduling priority. Applies only to thread which run in Async mode.

public ThreadPriority Priority { get; set; }

Property Value

ThreadPriority

UseEmptyContext

If true, the thread uses a new empty context

public bool UseEmptyContext { get; set; }

Property Value

bool