Share via


StatefulServiceDescription Class

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

Represents the extend ServiceDescription to provide additional information necessary to create stateful services.

Namespace:   System.Fabric.Description
Assembly:  System.Fabric (in System.Fabric.dll)

Inheritance Hierarchy

System.Object
  System.Fabric.Description.ServiceDescription
    System.Fabric.Description.StatefulServiceDescription

Syntax

public sealed class StatefulServiceDescription : ServiceDescription

Constructors

Name Description
System_CAPS_pubmethod StatefulServiceDescription()

Initializes a new instance of the StatefulServiceDescription class.

Properties

Name Description
System_CAPS_pubproperty ApplicationName

Gets or sets the name of the application.(Inherited from ServiceDescription.)

System_CAPS_pubproperty Correlations

A list that describes the correlation of the service with other services.(Inherited from ServiceDescription.)

System_CAPS_pubproperty DefaultMoveCost

Gets or sets the DefaultMoveCost of a service in a ServiceDescription (Inherited from ServiceDescription.)

System_CAPS_pubproperty HasPersistedState

Gets or sets a value indicating whether this instance has persisted state.

System_CAPS_pubproperty InitializationData

Gets or sets the initialization data that will be passed to service instances or replicas when they are created. (Inherited from ServiceDescription.)

System_CAPS_pubproperty IsDefaultMoveCostSpecified

Gets whether a Default MoveCost is specified for a ServiceDescription. (Inherited from ServiceDescription.)

System_CAPS_pubproperty Kind

Describes the service type (i.e., Stateful, Stateless and etc)(Inherited from ServiceDescription.)

System_CAPS_pubproperty Metrics

Gets or sets the ServiceLoadMetricDescriptionCollection for this service. The LoadMetricDescriptionCollection contains the ServiceLoadMetricDescriptions relevant to this service(Inherited from ServiceDescription.)

System_CAPS_pubproperty MinReplicaSetSize

Gets or sets the minimum allowed replica set size for this service.

System_CAPS_pubproperty PartitionSchemeDescription

Describe the partition scheme to be used for the service.(Inherited from ServiceDescription.)

System_CAPS_pubproperty PlacementConstraints

Gets or sets the placement constraints for this service. (Inherited from ServiceDescription.)

System_CAPS_pubproperty PlacementPolicies

Gets the list of ServicePlacementPolicyDescriptions belonging to the ServiceDescription. (Inherited from ServiceDescription.)

System_CAPS_pubproperty QuorumLossWaitDuration

Gets or sets the maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss.

System_CAPS_pubproperty ReplicaRestartWaitDuration

Gets or sets the duration, in seconds, between when a replica goes down and when a new replica is created.

System_CAPS_pubproperty ServiceName

URI name of the service.(Inherited from ServiceDescription.)

System_CAPS_pubproperty ServiceTypeName

Name of the service type.(Inherited from ServiceDescription.)

System_CAPS_pubproperty StandByReplicaKeepDuration

Gets or sets the definition on how long StandBy replicas should be maintained before being removed.

System_CAPS_pubproperty TargetReplicaSetSize

Gets or sets the target size of the replica set.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Fabric.Description Namespace

Return to top