KubernetesHostingExtensions.UseKubernetesHosting 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
UseKubernetesHosting(IServiceCollection) |
新增 Kubernetes 裝載支援。 |
UseKubernetesHosting(ISiloBuilder) |
新增 Kubernetes 裝載支援。 |
UseKubernetesHosting(IServiceCollection, Action<OptionsBuilder<KubernetesHostingOptions>>) |
新增 Kubernetes 裝載支援。 |
UseKubernetesHosting(ISiloBuilder, Action<OptionsBuilder<KubernetesHostingOptions>>) |
新增 Kubernetes 裝載支援。 |
UseKubernetesHosting(IServiceCollection)
新增 Kubernetes 裝載支援。
public static Microsoft.Extensions.DependencyInjection.IServiceCollection UseKubernetesHosting (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member UseKubernetesHosting : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function UseKubernetesHosting (services As IServiceCollection) As IServiceCollection
參數
- services
- IServiceCollection
傳回
適用於
UseKubernetesHosting(ISiloBuilder)
新增 Kubernetes 裝載支援。
public static Orleans.Hosting.ISiloBuilder UseKubernetesHosting (this Orleans.Hosting.ISiloBuilder siloBuilder);
static member UseKubernetesHosting : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseKubernetesHosting (siloBuilder As ISiloBuilder) As ISiloBuilder
參數
- siloBuilder
- ISiloBuilder
傳回
適用於
UseKubernetesHosting(IServiceCollection, Action<OptionsBuilder<KubernetesHostingOptions>>)
新增 Kubernetes 裝載支援。
public static Microsoft.Extensions.DependencyInjection.IServiceCollection UseKubernetesHosting (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Hosting.Kubernetes.KubernetesHostingOptions>> configureOptions);
static member UseKubernetesHosting : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Hosting.Kubernetes.KubernetesHostingOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function UseKubernetesHosting (services As IServiceCollection, configureOptions As Action(Of OptionsBuilder(Of KubernetesHostingOptions))) As IServiceCollection
參數
- services
- IServiceCollection
- configureOptions
- Action<OptionsBuilder<KubernetesHostingOptions>>
傳回
適用於
UseKubernetesHosting(ISiloBuilder, Action<OptionsBuilder<KubernetesHostingOptions>>)
新增 Kubernetes 裝載支援。
public static Orleans.Hosting.ISiloBuilder UseKubernetesHosting (this Orleans.Hosting.ISiloBuilder siloBuilder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Hosting.Kubernetes.KubernetesHostingOptions>> configureOptions);
static member UseKubernetesHosting : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Hosting.Kubernetes.KubernetesHostingOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseKubernetesHosting (siloBuilder As ISiloBuilder, configureOptions As Action(Of OptionsBuilder(Of KubernetesHostingOptions))) As ISiloBuilder
參數
- siloBuilder
- ISiloBuilder
- configureOptions
- Action<OptionsBuilder<KubernetesHostingOptions>>