你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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