TaskQueueManagerTaskQueue Constructor |
Self initializing constructor.
Namespace:
MFiles.VAF.Common.ApplicationTaskQueue
Assembly:
MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntaxpublic TaskQueue(
TaskQueueManager manager,
string name,
MFTaskQueueProcessingBehavior processingBehavior,
TaskQueueManagerTaskType taskType,
IApplicationTaskProcessor taskProcessor,
int maximumPollingIntervalInSeconds = 30,
string lastBroadcastId = ""
)
Public Sub New (
manager As TaskQueueManager,
name As String,
processingBehavior As MFTaskQueueProcessingBehavior,
taskType As TaskQueueManagerTaskType,
taskProcessor As IApplicationTaskProcessor,
Optional maximumPollingIntervalInSeconds As Integer = 30,
Optional lastBroadcastId As String = ""
)
public:
TaskQueue(
TaskQueueManager^ manager,
String^ name,
MFTaskQueueProcessingBehavior processingBehavior,
TaskQueueManagerTaskType taskType,
IApplicationTaskProcessor^ taskProcessor,
int maximumPollingIntervalInSeconds = 30,
String^ lastBroadcastId = L""
)
Parameters
- manager
- Type: MFiles.VAF.Common.ApplicationTaskQueueTaskQueueManager
Task queue name manager. - name
- Type: SystemString
Task queue name / identifier. - processingBehavior
- Type: MFTaskQueueProcessingBehavior
Processing behavior type. - taskType
- Type: MFiles.VAF.Common.ApplicationTaskQueueTaskQueueManagerTaskType
Defines the type of tasks that can be processed by this task queue. - taskProcessor
- Type: MFiles.VAF.Common.ApplicationTaskQueueIApplicationTaskProcessor
Task processor for this queue. - maximumPollingIntervalInSeconds (Optional)
- Type: SystemInt32
The max time in seconds that can pass before a polling cycle is ran for this queue.
- lastBroadcastId (Optional)
- Type: SystemString
The last processed broadcast id, defaults to empty string.
See Also