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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET