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>>