你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CreateWorkerOptions(String, Int32) 构造函数

定义

公共构造函数。

public CreateWorkerOptions (string workerId, int totalCapacity);
new Azure.Communication.JobRouter.CreateWorkerOptions : string * int -> Azure.Communication.JobRouter.CreateWorkerOptions
Public Sub New (workerId As String, totalCapacity As Integer)

参数

workerId
String

作业的 ID。

totalCapacity
Int32

此辅助角色必须管理多个并发作业的总容量分数。

例外

workerId 为 null。

适用于