共用方式為


OrleansService(IDistributedApplicationBuilder, String) Constructor

Definition

Initializes a new OrleansService instance.

public OrleansService (Aspire.Hosting.IDistributedApplicationBuilder builder, string name);
new Aspire.Hosting.Orleans.OrleansService : Aspire.Hosting.IDistributedApplicationBuilder * string -> Aspire.Hosting.Orleans.OrleansService
Public Sub New (builder As IDistributedApplicationBuilder, name As String)

Parameters

builder
IDistributedApplicationBuilder

The distributed application builder.

name
String

The service name.

Applies to