Udostępnij za pośrednictwem


ServiceTypeDescription Class

Definition

Describes the service type.

[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.StatelessServiceTypeDescription))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.StatefulServiceTypeDescription))]
public abstract class ServiceTypeDescription
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.StatelessServiceTypeDescription))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Description.StatefulServiceTypeDescription))>]
type ServiceTypeDescription = class
Public MustInherit Class ServiceTypeDescription
Inheritance
ServiceTypeDescription
Derived
Attributes

Constructors

ServiceTypeDescription(ServiceDescriptionKind)

Instantiates a ServiceTypeDescription class with specified service description kind.

ServiceTypeDescription(ServiceTypeDescription)

Instantiates a ServiceTypeDescription class with parameters from another ServiceTypeDescription object.

Properties

Extensions

Gets the extensions for the service type.

Extensions_

INTERNAL USE ONLY. Wrapper of property "Extensions". Needed for serialization.

IsStateful

Indicates whether the service is stateful.

LoadMetrics

Gets the type of load metric is reported by the service.

PlacementConstraints

Gets or sets the constraint to be used when instantiating this service in a Service Fabric cluster.

Policies

Gets the policies of the service type.

ServiceTypeKind

Gets or sets the kind of service type.

ServiceTypeName

Gets or sets the name of the service type.

Methods

ReadCommonProperties(IntPtr, IntPtr, IntPtr, IntPtr)

Reads the properties of the service type.

Applies to