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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET