Share via


CreateExceptionPolicyOptions(String, IEnumerable<ExceptionRule>) Constructor

Definition

Initializes a new instance of CreateExceptionPolicyOptions.

public CreateExceptionPolicyOptions (string exceptionPolicyId, System.Collections.Generic.IEnumerable<Azure.Communication.JobRouter.ExceptionRule> exceptionRules);
new Azure.Communication.JobRouter.CreateExceptionPolicyOptions : string * seq<Azure.Communication.JobRouter.ExceptionRule> -> Azure.Communication.JobRouter.CreateExceptionPolicyOptions
Public Sub New (exceptionPolicyId As String, exceptionRules As IEnumerable(Of ExceptionRule))

Parameters

exceptionPolicyId
String

Id of an exception policy.

exceptionRules
IEnumerable<ExceptionRule>

A collection of exception rules on the exception policy.

Exceptions

exceptionRules is null.

Applies to