Share via


CodePackageActivationContext Class

Definition

Represents the activation which contains information about a running code package in a Service Fabric application.

The GetActivationContext() and GetActivationContextAsync(TimeSpan, CancellationToken) methods can be used to get an instance of the activation context.

public class CodePackageActivationContext : IDisposable, System.Fabric.ICodePackageActivationContext3
type CodePackageActivationContext = class
    interface ICodePackageActivationContext3
    interface ICodePackageActivationContext2
    interface ICodePackageActivationContext
    interface IDisposable
Public Class CodePackageActivationContext
Implements ICodePackageActivationContext3, IDisposable
Inheritance
CodePackageActivationContext
Implements

Properties

ApplicationName
ApplicationTypeName
CodePackageName
CodePackageVersion
ContextId
LogDirectory
ServiceListenAddress
ServicePublishAddress
TempDirectory
WorkDirectory

Methods

Dispose()
Finalize()
GetApplicationPrincipals()
GetCodePackage(String)
GetCodePackageNames()
GetCodePackageObject(String)
GetConfigurationPackage(String)
GetConfigurationPackageNames()
GetConfigurationPackageObject(String)
GetDataPackage(String)
GetDataPackageNames()
GetDataPackageObject(String)
GetDirectory(String)
GetEndpoint(String)
GetEndpoints()
GetServiceGroupTypes()
GetServiceManifestName()
GetServiceManifestVersion()
GetServiceTypes()
ReportApplicationHealth(HealthInformation, HealthReportSendOptions)
ReportApplicationHealth(HealthInformation)
ReportDeployedApplicationHealth(HealthInformation, HealthReportSendOptions)
ReportDeployedApplicationHealth(HealthInformation)
ReportDeployedServicePackageHealth(HealthInformation, HealthReportSendOptions)
ReportDeployedServicePackageHealth(HealthInformation)

Events

CodePackageAdded
CodePackageAddedEvent
CodePackageModified
CodePackageModifiedEvent
CodePackageRemoved
CodePackageRemovedEvent
ConfigurationPackageAdded
ConfigurationPackageAddedEvent
ConfigurationPackageModified
ConfigurationPackageModifiedEvent
ConfigurationPackageRemoved
ConfigurationPackageRemovedEvent
DataPackageAdded
DataPackageAddedEvent
DataPackageModified
DataPackageModifiedEvent
DataPackageRemoved
DataPackageRemovedEvent

Applies to