Freigeben über


OrleansService Class

Definition

Describes an Orleans service.

public sealed class OrleansService
type OrleansService = class
Public NotInheritable Class OrleansService
Inheritance
OrleansService

Constructors

OrleansService(IDistributedApplicationBuilder, String)

Initializes a new OrleansService instance.

Properties

BroadcastChannel

Gets the broadcast channel providers.

Builder

Gets the distributed application builder.

Clustering

Gets or sets the clustering provider.

EnableDistributedTracing

Gets or sets a value indicating whether to enable tracing of grain calls.

GrainDirectory

Gets the grain directory providers.

GrainStorage

Gets the grain storage providers.

Name

Gets the name of the service.

Reminders

Gets or sets the reminder service provider.

Streaming

Gets the stream providers.

Extension Methods

AsClient(OrleansService)

Returns a model of the clients of an Orleans service.

WithBroadcastChannel(OrleansService, String, IProviderConfiguration)

Adds a broadcast channel provider to the Orleans service.

WithBroadcastChannel(OrleansService, String)

Adds a broadcast channel provider to the Orleans service.

WithClusterId(OrleansService, IResourceBuilder<ParameterResource>)

Sets the ClusterId of the Orleans service.

WithClusterId(OrleansService, String)

Sets the ClusterId of the Orleans service.

WithClustering(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Configures the Orleans service to use the provided clustering provider.

WithClustering(OrleansService, IProviderConfiguration)

Configures the Orleans service to use the provided clustering provider.

WithDevelopmentClustering(OrleansService)

Configures the Orleans service to use development-only clustering.

WithGrainDirectory(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Adds a grain directory provider to the Orleans service.

WithGrainDirectory(OrleansService, String, IResourceBuilder<IResourceWithConnectionString>)

Adds a grain directory provider to the Orleans service.

WithGrainDirectory(OrleansService, String, IProviderConfiguration)

Adds a grain directory provider to the Orleans service.

WithGrainStorage(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Adds a grain storage provider to the Orleans service.

WithGrainStorage(OrleansService, String, IResourceBuilder<IResourceWithConnectionString>)

Adds a grain storage provider to the Orleans service.

WithGrainStorage(OrleansService, String, IProviderConfiguration)

Adds a grain storage provider to the Orleans service.

WithMemoryGrainStorage(OrleansService, String)

Adds an in-memory grain storage to the Orleans service.

WithMemoryReminders(OrleansService)

Configures in-memory reminder storage for the Orleans service.

WithMemoryStreaming(OrleansService, String)

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

WithReminders(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Configures reminder storage for the Orleans service.

WithReminders(OrleansService, IProviderConfiguration)

Configures reminder storage for the Orleans service.

WithServiceId(OrleansService, IResourceBuilder<ParameterResource>)

Sets the ServiceId of the Orleans service.

WithServiceId(OrleansService, String)

Sets the ServiceId of the Orleans service.

WithStreaming(OrleansService, IResourceBuilder<IResourceWithConnectionString>)

Adds a stream provider to the Orleans service.

WithStreaming(OrleansService, String, IResourceBuilder<IResourceWithConnectionString>)

Adds a stream provider to the Orleans service.

WithStreaming(OrleansService, String, IProviderConfiguration)

Adds a stream provider to the Orleans service.

Applies to