Delen via


JobRouterModelFactory.UnassignJobResult(String, Int32) Method

Definition

Initializes a new instance of UnassignJobResult.

public static Azure.Communication.JobRouter.UnassignJobResult UnassignJobResult (string jobId = default, int unassignmentCount = 0);
static member UnassignJobResult : string * int -> Azure.Communication.JobRouter.UnassignJobResult
Public Shared Function UnassignJobResult (Optional jobId As String = Nothing, Optional unassignmentCount As Integer = 0) As UnassignJobResult

Parameters

jobId
String

Id of an unassigned job.

unassignmentCount
Int32

The number of times a job is unassigned. At a maximum 3.

Returns

A new UnassignJobResult instance for mocking.

Exceptions

jobId is null.

Applies to