LeaseBasedQueueBalancer.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(IServiceProvider, String) |
创建一个新的 LeaseBasedQueueBalancer 实例。 |
Create(IServiceProvider, String, IDeploymentConfiguration) |
Create(IServiceProvider, String)
- Source:
- LeaseBasedQueueBalancer.cs
创建一个新的 LeaseBasedQueueBalancer 实例。
public static Orleans.Streams.IStreamQueueBalancer Create (IServiceProvider services, string name);
static member Create : IServiceProvider * string -> Orleans.Streams.IStreamQueueBalancer
Public Shared Function Create (services As IServiceProvider, name As String) As IStreamQueueBalancer
参数
- services
- IServiceProvider
服务。
- name
- String
名称。
返回
新的 LeaseBasedQueueBalancer 实例。
适用于
Create(IServiceProvider, String, IDeploymentConfiguration)
public static Orleans.Streams.IStreamQueueBalancer Create (IServiceProvider services, string name, Orleans.Streams.IDeploymentConfiguration deploymentConfiguration);
static member Create : IServiceProvider * string * Orleans.Streams.IDeploymentConfiguration -> Orleans.Streams.IStreamQueueBalancer
Public Shared Function Create (services As IServiceProvider, name As String, deploymentConfiguration As IDeploymentConfiguration) As IStreamQueueBalancer
参数
- services
- IServiceProvider
- name
- String
- deploymentConfiguration
- IDeploymentConfiguration