ICodePackageActivationContext2 Interface

Definition

Represents activation context for the Service Fabric activated service.

public interface ICodePackageActivationContext2 : IDisposable, System.Fabric.ICodePackageActivationContext
type ICodePackageActivationContext2 = interface
    interface ICodePackageActivationContext
    interface IDisposable
Public Interface ICodePackageActivationContext2
Implements ICodePackageActivationContext, IDisposable
Derived
Implements
ICodePackageActivationContext System.IDisposable

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

Gets the application name.

(Inherited from ICodePackageActivationContext)
ApplicationTypeName

Gets the application type name.

(Inherited from ICodePackageActivationContext)
CodePackageName

Gets the name of the fabric activated code package.

(Inherited from ICodePackageActivationContext)
CodePackageVersion

Gets the version of the fabric activated code package.

(Inherited from ICodePackageActivationContext)
ContextId

Gets the context id.

(Inherited from ICodePackageActivationContext)
LogDirectory

Gets the path to the Log directory that the application can use.

(Inherited from ICodePackageActivationContext)
ServiceListenAddress

The address at which the service should start the communication listener.

ServicePublishAddress

The address which the service should publish as the listen address.

TempDirectory

Gets the path to the Temp directory that the application can use.

(Inherited from ICodePackageActivationContext)
WorkDirectory

Gets the path to the Work directory that the application can use.

(Inherited from ICodePackageActivationContext)

Methods

GetApplicationPrincipals()

Retrieves the principals defined in the application manifest.

(Inherited from ICodePackageActivationContext)
GetCodePackageNames()

Retrieves the list of code package names in the service manifest.

(Inherited from ICodePackageActivationContext)
GetCodePackageObject(String)

Returns the CodePackage object from Service Package that matches the desired package name.

(Inherited from ICodePackageActivationContext)
GetConfigurationPackageNames()

Retrieves the list of configuration package names in the service manifest.

(Inherited from ICodePackageActivationContext)
GetConfigurationPackageObject(String)

Returns the ConfigurationPackage object from Service Package that matches the desired package name.

(Inherited from ICodePackageActivationContext)
GetDataPackageNames()

Retrieves the list of data package names in the service manifest.

(Inherited from ICodePackageActivationContext)
GetDataPackageObject(String)

Returns the DataPackage object from Service Package that matches the desired package name.

(Inherited from ICodePackageActivationContext)
GetEndpoint(String)

Retrieves the endpoint resource with a given name from the service manifest.

(Inherited from ICodePackageActivationContext)
GetEndpoints()

Retrieves the endpoint resources in the service manifest.

(Inherited from ICodePackageActivationContext)
GetServiceGroupTypes()

Retrieves the list of Service Group types in the service manifest.

(Inherited from ICodePackageActivationContext)
GetServiceManifestName()

Retrieves the name of the service manifest.

(Inherited from ICodePackageActivationContext)
GetServiceManifestVersion()

Retrieves the version of the service manifest.

(Inherited from ICodePackageActivationContext)
GetServiceTypes()

Retrieves the list of Service types in the service manifest.

(Inherited from ICodePackageActivationContext)
ReportApplicationHealth(HealthInformation)

Reports health for current application.

(Inherited from ICodePackageActivationContext)
ReportApplicationHealth(HealthInformation, HealthReportSendOptions)

Reports health for current application. Specifies options to control how the report is sent.

(Inherited from ICodePackageActivationContext)
ReportDeployedApplicationHealth(HealthInformation)

Reports health for current deployed application.

(Inherited from ICodePackageActivationContext)
ReportDeployedApplicationHealth(HealthInformation, HealthReportSendOptions)

Reports health for current deployed application. Specifies options to control how the report is sent.

(Inherited from ICodePackageActivationContext)
ReportDeployedServicePackageHealth(HealthInformation)

Reports health for current deployed service package.

(Inherited from ICodePackageActivationContext)
ReportDeployedServicePackageHealth(HealthInformation, HealthReportSendOptions)

Reports health for current deployed service package. Specifies send options that control how the report is sent to the health store.

(Inherited from ICodePackageActivationContext)

Events

CodePackageAddedEvent

Event raised when new CodePackage is added to the service manifest.

(Inherited from ICodePackageActivationContext)
CodePackageModifiedEvent

Event raised when a CodePackage in the service manifest is modified.

(Inherited from ICodePackageActivationContext)
CodePackageRemovedEvent

Event raised when a CodePackage is removed from the service manifest.

(Inherited from ICodePackageActivationContext)
ConfigurationPackageAddedEvent

Event raised when new ConfigurationPackage is added to the service manifest.

(Inherited from ICodePackageActivationContext)
ConfigurationPackageModifiedEvent

Event raised when a ConfigurationPackage in the service manifest is modified.

(Inherited from ICodePackageActivationContext)
ConfigurationPackageRemovedEvent

Event raised when a ConfigurationPackage is removed from the service manifest.

(Inherited from ICodePackageActivationContext)
DataPackageAddedEvent

Event raised when new DataPackage is added to the service manifest.

(Inherited from ICodePackageActivationContext)
DataPackageModifiedEvent

Event raised when a DataPackage in the service manifest is modified.

(Inherited from ICodePackageActivationContext)
DataPackageRemovedEvent

Event raised when a DataPackage is removed from the service manifest.

(Inherited from ICodePackageActivationContext)

Applies to