Share via


OrleansServiceExtensions.WithClusterId Method

Definition

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