Class ServiceContext
The service context that the service is operating under.
Inheritance
System.Object
ServiceContext
Namespace: Copper.Fabric
Assembly: Copper.Fabric.dll
Syntax
[DataContract]
public class ServiceContext
Constructors
View SourceServiceContext()
Initializes a new instance of the ServiceContext class.
Declaration
public ServiceContext()
Properties
View SourceCodePackageActivationContext
Gets the code package activation context, which contains information from the service manifest and the currently activated code package.
Declaration
[DataMember]
public CodePackageActivationContext CodePackageActivationContext { get; }
Property Value
Type | Description |
---|---|
CodePackageActivationContext | The code package activation context. |
ServiceName
Gets the service name.
Declaration
[DataMember]
public Uri ServiceName { get; }
Property Value
Type | Description |
---|---|
System.Uri | The service name. |
ServiceTypeName
Gets the service type name.
Declaration
[DataMember]
public string ServiceTypeName { get; }
Property Value
Type | Description |
---|---|
System.String | The service type name. |