Dela via


JobRouterModelFactory.ExceptionAction(String, String) Method

Definition

Initializes a new instance of ExceptionAction.

public static Azure.Communication.JobRouter.ExceptionAction ExceptionAction (string id = default, string kind = "Unknown");
public static Azure.Communication.JobRouter.ExceptionAction ExceptionAction (string id = default, string kind = default);
static member ExceptionAction : string * string -> Azure.Communication.JobRouter.ExceptionAction
Public Shared Function ExceptionAction (Optional id As String = Nothing, Optional kind As String = "Unknown") As ExceptionAction
Public Shared Function ExceptionAction (Optional id As String = Nothing, Optional kind As String = Nothing) As ExceptionAction

Parameters

id
String

Unique Id of the exception action.

kind
String

The type discriminator describing a sub-type of ExceptionAction.

Returns

A new ExceptionAction instance for mocking.

Applies to