共用方式為


LeaseBasedQueueBalancer.Create 方法

定義

多載

Create(IServiceProvider, String)

建立新的 LeaseBasedQueueBalancer 執行個體。

Create(IServiceProvider, String, IDeploymentConfiguration)

Create(IServiceProvider, String)

來源:
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

傳回

適用於