OrleansServiceExtensions.WithClusterId Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithClusterId(OrleansService, IResourceBuilder<ParameterResource>) |
Sets the ClusterId of the Orleans service. |
WithClusterId(OrleansService, String) |
Sets the ClusterId of the Orleans service. |
WithClusterId(OrleansService, IResourceBuilder<ParameterResource>)
- Source:
- OrleansServiceExtensions.cs
- Source:
- OrleansServiceExtensions.cs
Sets the ClusterId of the Orleans service.
public static Aspire.Hosting.Orleans.OrleansService WithClusterId (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.ParameterResource> clusterId);
static member WithClusterId : Aspire.Hosting.Orleans.OrleansService * Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.ParameterResource> -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithClusterId (orleansServiceBuilder As OrleansService, clusterId As IResourceBuilder(Of ParameterResource)) As OrleansService
Parameters
- orleansServiceBuilder
- OrleansService
The target Orleans service builder.
- clusterId
- IResourceBuilder<ParameterResource>
The ClusterId value.
Returns
>The Orleans service builder.
Applies to
WithClusterId(OrleansService, String)
- Source:
- OrleansServiceExtensions.cs
- Source:
- OrleansServiceExtensions.cs
Sets the ClusterId of the Orleans service.
public static Aspire.Hosting.Orleans.OrleansService WithClusterId (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, string clusterId);
static member WithClusterId : Aspire.Hosting.Orleans.OrleansService * string -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithClusterId (orleansServiceBuilder As OrleansService, clusterId As String) As OrleansService
Parameters
- orleansServiceBuilder
- OrleansService
The target Orleans service builder.
- clusterId
- String
The ClusterId value.
Returns
>The Orleans service builder.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈