共用方式為


OrleansServiceExtensions.WithMemoryStreaming(OrleansService, String) Method

Definition

Adds an in-memory stream provider to the Orleans service.

public static Aspire.Hosting.Orleans.OrleansService WithMemoryStreaming (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, string name);
static member WithMemoryStreaming : Aspire.Hosting.Orleans.OrleansService * string -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithMemoryStreaming (orleansServiceBuilder As OrleansService, name As String) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

name
String

The name of the provider. This is the name the application will use to resolve the provider.

Returns

>The Orleans service builder.

Applies to