LeaseBasedQueueBalancer.Create 方法

定义

重载

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

返回

适用于