JobRouterModelFactory.ExceptionPolicy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ExceptionPolicy.
public static Azure.Communication.JobRouter.ExceptionPolicy ExceptionPolicy (Azure.ETag eTag = default, string id = default, string name = default, System.Collections.Generic.IEnumerable<Azure.Communication.JobRouter.ExceptionRule> exceptionRules = default);
static member ExceptionPolicy : Azure.ETag * string * string * seq<Azure.Communication.JobRouter.ExceptionRule> -> Azure.Communication.JobRouter.ExceptionPolicy
Public Shared Function ExceptionPolicy (Optional eTag As ETag = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional exceptionRules As IEnumerable(Of ExceptionRule) = Nothing) As ExceptionPolicy
Parameters
- eTag
- ETag
The entity tag for this resource.
- id
- String
Id of an exception policy.
- name
- String
Friendly name of this policy.
- exceptionRules
- IEnumerable<ExceptionRule>
A collection of exception rules on the exception policy.
Returns
A new ExceptionPolicy instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET