JobRouterModelFactory.RouterChannel 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 RouterChannel.
public static Azure.Communication.JobRouter.RouterChannel RouterChannel (string channelId = default, int capacityCostPerJob = 0, int? maxNumberOfJobs = default);
static member RouterChannel : string * int * Nullable<int> -> Azure.Communication.JobRouter.RouterChannel
Public Shared Function RouterChannel (Optional channelId As String = Nothing, Optional capacityCostPerJob As Integer = 0, Optional maxNumberOfJobs As Nullable(Of Integer) = Nothing) As RouterChannel
Parameters
- channelId
- String
Id of a channel.
- capacityCostPerJob
- Int32
The amount of capacity that an instance of a job of this channel will consume of the total worker capacity.
The maximum number of jobs that can be supported concurrently for this channel. Value must be greater than zero.
Returns
A new RouterChannel instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET