ServiceContext Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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