Show / Hide Table of Contents

# Class DedicatedTaskRunner

A TaskRunner that dedicates a single thread to running a single Task.

##### Inheritance

System.Object
DedicatedTaskRunner

##### Implements

TaskRunner

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ.Threads

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class DedicatedTaskRunner : TaskRunner

### Constructors

| Improve this Doc View Source

#### DedicatedTaskRunner(Task)

##### Declaration

    public DedicatedTaskRunner(Task task)

##### Parameters

Type | Name | Description
--- | --- | ---
Task | task |

| Improve this Doc View Source

#### DedicatedTaskRunner(Task, String, ThreadPriority)

##### Declaration

    public DedicatedTaskRunner(Task task, string taskName, ThreadPriority taskPriority)

##### Parameters

Type | Name | Description
--- | --- | ---
Task | task |
System.String | taskName |
System.Threading.ThreadPriority | taskPriority |

### Methods

| Improve this Doc View Source

#### Shutdown()

##### Declaration

    public void Shutdown()

| Improve this Doc View Source

#### Shutdown(TimeSpan)

##### Declaration

    public void Shutdown(TimeSpan timeout)

##### Parameters

Type | Name | Description
--- | --- | ---
System.TimeSpan | timeout |

| Improve this Doc View Source

#### ShutdownWithAbort(TimeSpan)

##### Declaration

    public void ShutdownWithAbort(TimeSpan timeout)

##### Parameters

Type | Name | Description
--- | --- | ---
System.TimeSpan | timeout |

| Improve this Doc View Source

#### Wakeup()

##### Declaration

    public void Wakeup()

### Implements

TaskRunner