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
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