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 | |
---|---|---|
ServiceDescription(ServiceDescription) | Instantiates a ServiceDescription class with parameters from another ServiceDescription object. |
|
ServiceDescription(ServiceDescriptionKind) | Initialize an instance of ServiceDescription with service kind. |
Properties
Name | Description | |
---|---|---|
ApplicationName | Gets or sets the name of the application. |
|
Correlations | A list that describes the correlation of the service with other services. |
|
DefaultMoveCost | Gets or sets the DefaultMoveCost of a service in a ServiceDescription |
|
InitializationData | Gets or sets the initialization data that will be passed to service instances or replicas when they are created. |
|
IsDefaultMoveCostSpecified | Gets whether a Default MoveCost is specified for a ServiceDescription. |
|
Kind | Describes the service type (i.e., Stateful, Stateless and etc) |
|
Metrics | Gets or sets the ServiceLoadMetricDescriptionCollection for this service. The LoadMetricDescriptionCollection contains the ServiceLoadMetricDescriptions relevant to this service |
|
PartitionSchemeDescription | Describe the partition scheme to be used for the service. |
|
PlacementConstraints | Gets or sets the placement constraints for this service. |
|
PlacementPolicies | Gets the list of ServicePlacementPolicyDescriptions belonging to the ServiceDescription. |
|
ServiceName | URI name of the service. |
|
ServiceTypeName | Name of the service type. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (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