Share via


ServiceContext Constructor

Definition

protected ServiceContext(System.Fabric.NodeContext nodeContext, System.Fabric.ICodePackageActivationContext codePackageActivationContext, string serviceTypeName, Uri serviceName, byte[] initializationData, Guid partitionId, long replicaOrInstanceId);
new System.Fabric.ServiceContext : System.Fabric.NodeContext * System.Fabric.ICodePackageActivationContext * string * Uri * byte[] * Guid * int64 -> System.Fabric.ServiceContext
Protected Sub New (nodeContext As NodeContext, codePackageActivationContext As ICodePackageActivationContext, serviceTypeName As String, serviceName As Uri, initializationData As Byte(), partitionId As Guid, replicaOrInstanceId As Long)

Parameters

nodeContext
NodeContext
codePackageActivationContext
ICodePackageActivationContext
serviceTypeName
System.String
serviceName
System.Uri
initializationData
System.Byte[]
partitionId
System.Guid
replicaOrInstanceId
System.Int64

Applies to