JobRouterModelFactory.RouterJobAssignment 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 RouterJobAssignment.
public static Azure.Communication.JobRouter.RouterJobAssignment RouterJobAssignment (string assignmentId = default, string workerId = default, DateTimeOffset assignedAt = default, DateTimeOffset? completedAt = default, DateTimeOffset? closedAt = default);
static member RouterJobAssignment : string * string * DateTimeOffset * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Communication.JobRouter.RouterJobAssignment
Public Shared Function RouterJobAssignment (Optional assignmentId As String = Nothing, Optional workerId As String = Nothing, Optional assignedAt As DateTimeOffset = Nothing, Optional completedAt As Nullable(Of DateTimeOffset) = Nothing, Optional closedAt As Nullable(Of DateTimeOffset) = Nothing) As RouterJobAssignment
Parameters
- assignmentId
- String
Id of a job assignment.
- workerId
- String
Id of the Worker assigned to the job.
- assignedAt
- DateTimeOffset
Timestamp when the job was assigned to a worker in UTC.
- completedAt
- Nullable<DateTimeOffset>
Timestamp when the job was marked as completed after being assigned in UTC.
- closedAt
- Nullable<DateTimeOffset>
Timestamp when the job was marked as closed after being completed in UTC.
Returns
A new RouterJobAssignment instance for mocking.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET