ServiceDescription Class

 

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

A ServiceDescription contains all of the information necessary to create a service.

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

Inheritance Hierarchy

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

Syntax

[KnownTypeAttribute(typeof(StatelessServiceDescription))]
[KnownTypeAttribute(typeof(StatefulServiceDescription))]
public abstract class ServiceDescription

Constructors

Name Description
System_CAPS_protmethod ServiceDescription(ServiceDescription)

Instantiates a ServiceDescription class with parameters from another ServiceDescription object.

System_CAPS_protmethod ServiceDescription(ServiceDescriptionKind)

Initialize an instance of ServiceDescription with service kind.

Properties

Name Description
System_CAPS_pubproperty ApplicationName

Gets or sets the name of the application.

System_CAPS_pubproperty Correlations

A list that describes the correlation of the service with other services.

System_CAPS_pubproperty DefaultMoveCost

Gets or sets the DefaultMoveCost of a service in a ServiceDescription

System_CAPS_pubproperty InitializationData

Gets or sets the initialization data that will be passed to service instances or replicas when they are created.

System_CAPS_pubproperty IsDefaultMoveCostSpecified

Gets whether a Default MoveCost is specified for a ServiceDescription.

System_CAPS_pubproperty Kind

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

System_CAPS_pubproperty Metrics

Gets or sets the ServiceLoadMetricDescriptionCollection for this service. The LoadMetricDescriptionCollection contains the ServiceLoadMetricDescriptions relevant to this service

System_CAPS_pubproperty PartitionSchemeDescription

Describe the partition scheme to be used for the service.

System_CAPS_pubproperty PlacementConstraints

Gets or sets the placement constraints for this service.

System_CAPS_pubproperty PlacementPolicies

Gets the list of ServicePlacementPolicyDescriptions belonging to the ServiceDescription.

System_CAPS_pubproperty ServiceName

URI name of the service.

System_CAPS_pubproperty ServiceTypeName

Name of the service type.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(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