共用方式為


ServiceFromTemplateDescription Class

Definition

Describes a Service Fabric service to be created from Service Template that is pre-defined in the current Application Manifest.

public sealed class ServiceFromTemplateDescription
type ServiceFromTemplateDescription = class
Public NotInheritable Class ServiceFromTemplateDescription
Inheritance
ServiceFromTemplateDescription

Constructors

ServiceFromTemplateDescription(Uri, Uri, String, String, ServicePackageActivationMode, Byte[])

Creates an instance of ServiceFromTemplateDescription with specified parameter.

Properties

ApplicationName

The Service Fabric Name of the application under which the service will be created.

InitializationData

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

ServiceDnsName

The DNS name of the service to create.

ServiceName

Name of the service to create.

ServicePackageActivationMode

Gets or sets the ServicePackageActivationMode of service.

ServiceTypeName

Name of the service type to create.

Applies to