你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RouterChannel(String, Int32) Constructor
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.
Represents the capacity a job in this channel will consume from a worker.
public RouterChannel (string channelId, int capacityCostPerJob);
new Azure.Communication.JobRouter.RouterChannel : string * int -> Azure.Communication.JobRouter.RouterChannel
Public Sub New (channelId As String, capacityCostPerJob As Integer)
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.