OrleansServiceListener.CreateStateful(ClusterConfiguration, String) 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.
Creates a ServiceInstanceListener which manages an Orleans silo for a stateless service.
public static Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener CreateStateful (Orleans.Runtime.Configuration.ClusterConfiguration configuration, string siloName = default);
static member CreateStateful : Orleans.Runtime.Configuration.ClusterConfiguration * string -> Microsoft.ServiceFabric.Services.Communication.Runtime.ServiceReplicaListener
Public Shared Function CreateStateful (configuration As ClusterConfiguration, Optional siloName As String = Nothing) As ServiceReplicaListener
Parameters
- configuration
- ClusterConfiguration
The Orleans cluster configuration.
- siloName
- String
The silo name, or null
to have a name automatically selected.
Returns
A ServiceInstanceListener which manages an Orleans silo.