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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET