Share via


ICodePackageActivationContext Interface

Definition

Represents activation context for the Service Fabric activated service.

public interface ICodePackageActivationContext : IDisposable
type ICodePackageActivationContext = interface
    interface IDisposable
Public Interface ICodePackageActivationContext
Implements IDisposable
Derived
Implements

Remarks

Includes information from the service manifest as well as information about the currently activated code package like work directory, context id etc.

Properties

ApplicationName
ApplicationTypeName
CodePackageName
CodePackageVersion
ContextId
LogDirectory
TempDirectory
WorkDirectory

Methods

GetApplicationPrincipals()
GetCodePackageNames()
GetCodePackageObject(String)
GetConfigurationPackageNames()
GetConfigurationPackageObject(String)
GetDataPackageNames()
GetDataPackageObject(String)
GetEndpoint(String)
GetEndpoints()
GetServiceGroupTypes()
GetServiceManifestName()
GetServiceManifestVersion()
GetServiceTypes()
ReportApplicationHealth(HealthInformation, HealthReportSendOptions)
ReportApplicationHealth(HealthInformation)
ReportDeployedApplicationHealth(HealthInformation, HealthReportSendOptions)
ReportDeployedApplicationHealth(HealthInformation)
ReportDeployedServicePackageHealth(HealthInformation, HealthReportSendOptions)
ReportDeployedServicePackageHealth(HealthInformation)

Events

CodePackageAddedEvent
CodePackageModifiedEvent
CodePackageRemovedEvent
ConfigurationPackageAddedEvent
ConfigurationPackageModifiedEvent
ConfigurationPackageRemovedEvent
DataPackageAddedEvent
DataPackageModifiedEvent
DataPackageRemovedEvent

Applies to