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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET