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 | |
---|---|---|
StatefulServiceDescription() | Initializes a new instance of the StatefulServiceDescription class. |
Properties
Name | Description | |
---|---|---|
ApplicationName | Gets or sets the name of the application.(Inherited from ServiceDescription.) |
|
Correlations | A list that describes the correlation of the service with other services.(Inherited from ServiceDescription.) |
|
DefaultMoveCost | Gets or sets the DefaultMoveCost of a service in a ServiceDescription (Inherited from ServiceDescription.) |
|
HasPersistedState | Gets or sets a value indicating whether this instance has persisted state. |
|
InitializationData | Gets or sets the initialization data that will be passed to service instances or replicas when they are created. (Inherited from ServiceDescription.) |
|
IsDefaultMoveCostSpecified | Gets whether a Default MoveCost is specified for a ServiceDescription. (Inherited from ServiceDescription.) |
|
Kind | Describes the service type (i.e., Stateful, Stateless and etc)(Inherited from ServiceDescription.) |
|
Metrics | Gets or sets the ServiceLoadMetricDescriptionCollection for this service. The LoadMetricDescriptionCollection contains the ServiceLoadMetricDescriptions relevant to this service(Inherited from ServiceDescription.) |
|
MinReplicaSetSize | Gets or sets the minimum allowed replica set size for this service. |
|
PartitionSchemeDescription | Describe the partition scheme to be used for the service.(Inherited from ServiceDescription.) |
|
PlacementConstraints | Gets or sets the placement constraints for this service. (Inherited from ServiceDescription.) |
|
PlacementPolicies | Gets the list of ServicePlacementPolicyDescriptions belonging to the ServiceDescription. (Inherited from ServiceDescription.) |
|
QuorumLossWaitDuration | Gets or sets the maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss. |
|
ReplicaRestartWaitDuration | Gets or sets the duration, in seconds, between when a replica goes down and when a new replica is created. |
|
ServiceName | URI name of the service.(Inherited from ServiceDescription.) |
|
ServiceTypeName | Name of the service type.(Inherited from ServiceDescription.) |
|
StandByReplicaKeepDuration | Gets or sets the definition on how long StandBy replicas should be maintained before being removed. |
|
TargetReplicaSetSize | Gets or sets the target size of the replica set. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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