Dela via


Service Class

Definition

Represents a service.

[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Query.StatelessService))]
[System.Runtime.Serialization.KnownType(typeof(System.Fabric.Query.StatefulService))]
public abstract class Service
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Query.StatelessService))>]
[<System.Runtime.Serialization.KnownType(typeof(System.Fabric.Query.StatefulService))>]
type Service = class
Public MustInherit Class Service
Inheritance
Service
Derived
Attributes

Properties

HealthState

Gets the health state.

IsServiceGroup

Flag indicates if this service is a regular service or a service group.

ServiceKind

Gets the service kind.

ServiceManifestVersion

Gets the service manifest version.

ServiceMetadata

Gets the service metadata.

ServiceName

Gets the service name.

ServiceStatus

Gets the status of the service.

ServiceTypeName

Gets the service type name.

Applies to