OrleansServiceExtensions.WithServiceId 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
WithServiceId(OrleansService, IResourceBuilder<ParameterResource>) |
Sets the ServiceId of the Orleans service. |
WithServiceId(OrleansService, String) |
Sets the ServiceId of the Orleans service. |
WithServiceId(OrleansService, IResourceBuilder<ParameterResource>)
- Source:
- OrleansServiceExtensions.cs
- Source:
- OrleansServiceExtensions.cs
Sets the ServiceId of the Orleans service.
public static Aspire.Hosting.Orleans.OrleansService WithServiceId (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.ParameterResource> serviceId);
static member WithServiceId : Aspire.Hosting.Orleans.OrleansService * Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.ParameterResource> -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithServiceId (orleansServiceBuilder As OrleansService, serviceId As IResourceBuilder(Of ParameterResource)) As OrleansService
Parameters
- orleansServiceBuilder
- OrleansService
The target Orleans service builder.
- serviceId
- IResourceBuilder<ParameterResource>
The ServiceId value.
Returns
>The Orleans service builder.
Applies to
WithServiceId(OrleansService, String)
- Source:
- OrleansServiceExtensions.cs
- Source:
- OrleansServiceExtensions.cs
Sets the ServiceId of the Orleans service.
public static Aspire.Hosting.Orleans.OrleansService WithServiceId (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, string serviceId);
static member WithServiceId : Aspire.Hosting.Orleans.OrleansService * string -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithServiceId (orleansServiceBuilder As OrleansService, serviceId As String) As OrleansService
Parameters
- orleansServiceBuilder
- OrleansService
The target Orleans service builder.
- serviceId
- String
The ServiceId value.
Returns
>The Orleans service builder.