LeaseBasedQueueBalancer.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Create(IServiceProvider, String) |
建立新的 LeaseBasedQueueBalancer 執行個體。 |
Create(IServiceProvider, String, IDeploymentConfiguration) |
Create(IServiceProvider, String)
建立新的 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