Freigeben über


ExceptionRule Konstruktor

Definition

Initialisiert eine neue instance von ExceptionRule.

public ExceptionRule (Azure.Communication.JobRouter.ExceptionTrigger trigger, System.Collections.Generic.IDictionary<string,Azure.Communication.JobRouter.ExceptionAction?> actions);
new Azure.Communication.JobRouter.ExceptionRule : Azure.Communication.JobRouter.ExceptionTrigger * System.Collections.Generic.IDictionary<string, Azure.Communication.JobRouter.ExceptionAction> -> Azure.Communication.JobRouter.ExceptionRule
Public Sub New (trigger As ExceptionTrigger, actions As IDictionary(Of String, ExceptionAction))

Parameter

trigger
ExceptionTrigger

Der Trigger für diese Ausnahmeregel.

actions
IDictionary<String,ExceptionAction>

Eine Wörterbuchsammlung von Aktionen, die nach dem Auslösen der Ausnahme ausgeführt werden sollen. Key ist die ID jeder Ausnahmeaktion.

Ausnahmen

trigger oder actions ist NULL.

Gilt für: