JobRouterModelFactory.AcceptJobOfferResult(String, String, String) 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 AcceptJobOfferResult.
public static Azure.Communication.JobRouter.AcceptJobOfferResult AcceptJobOfferResult (string assignmentId = default, string jobId = default, string workerId = default);
static member AcceptJobOfferResult : string * string * string -> Azure.Communication.JobRouter.AcceptJobOfferResult
Public Shared Function AcceptJobOfferResult (Optional assignmentId As String = Nothing, Optional jobId As String = Nothing, Optional workerId As String = Nothing) As AcceptJobOfferResult
Parameters
- assignmentId
- String
Id of job assignment that assigns a worker that has accepted an offer to a job.
- jobId
- String
Id of the job assigned.
- workerId
- String
Id of the worker that has been assigned this job.
Returns
A new AcceptJobOfferResult instance for mocking.
Exceptions
assignmentId
, jobId
or workerId
is null.
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