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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET