Share via


ServiceFromTemplateDescription Constructor

Definition

Creates an instance of ServiceFromTemplateDescription with specified parameter.

public ServiceFromTemplateDescription (Uri applicationName, Uri serviceName, string serviceDnsName, string serviceTypeName, System.Fabric.Description.ServicePackageActivationMode servicePackageActivationMode, byte[] initializationData);
new System.Fabric.Description.ServiceFromTemplateDescription : Uri * Uri * string * string * System.Fabric.Description.ServicePackageActivationMode * byte[] -> System.Fabric.Description.ServiceFromTemplateDescription
Public Sub New (applicationName As Uri, serviceName As Uri, serviceDnsName As String, serviceTypeName As String, servicePackageActivationMode As ServicePackageActivationMode, initializationData As Byte())

Parameters

applicationName
Uri

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

serviceName
Uri

Name of the service to create.

serviceDnsName
String

DNS name of the service to create.

serviceTypeName
String

Name of ServiceType. This has to be same as the ServiceTypeName specified in the Service Manifest.

servicePackageActivationMode
ServicePackageActivationMode

ServicePackageActivationMode to use for service creation.

initializationData
Byte[]

Initialization data that will be passed to service.

Applies to