Freigeben über


OrleansServiceExtensions.WithReminders Method

Definition

Overloads

WithReminders(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Configures reminder storage for the Orleans service.

WithReminders(OrleansService, IProviderConfiguration)

Configures reminder storage for the Orleans service.

WithReminders(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Source:
OrleansServiceExtensions.cs
Source:
OrleansServiceExtensions.cs

Configures reminder storage for the Orleans service.

public static Aspire.Hosting.Orleans.OrleansService WithReminders (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.IResourceWithConnectionString> provider);
static member WithReminders : Aspire.Hosting.Orleans.OrleansService * Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.ApplicationModel.IResourceWithConnectionString> -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithReminders (orleansServiceBuilder As OrleansService, provider As IResourceBuilder(Of IResourceWithConnectionString)) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

provider
IResourceBuilder<IResourceWithConnectionString>

The reminder storage provider.

Returns

>The Orleans service builder.

Applies to

WithReminders(OrleansService, IProviderConfiguration)

Source:
OrleansServiceExtensions.cs
Source:
OrleansServiceExtensions.cs

Configures reminder storage for the Orleans service.

public static Aspire.Hosting.Orleans.OrleansService WithReminders (this Aspire.Hosting.Orleans.OrleansService orleansServiceBuilder, Aspire.Hosting.Orleans.IProviderConfiguration provider);
static member WithReminders : Aspire.Hosting.Orleans.OrleansService * Aspire.Hosting.Orleans.IProviderConfiguration -> Aspire.Hosting.Orleans.OrleansService
<Extension()>
Public Function WithReminders (orleansServiceBuilder As OrleansService, provider As IProviderConfiguration) As OrleansService

Parameters

orleansServiceBuilder
OrleansService

The target Orleans service builder.

provider
IProviderConfiguration

The reminder storage provider to use.

Returns

>The Orleans service builder.

Applies to