Share via


DistributedApplicationExecutionContext Class

Definition

Exposes the global contextual information for this invocation of the AppHost.

public class DistributedApplicationExecutionContext
type DistributedApplicationExecutionContext = class
Public Class DistributedApplicationExecutionContext
Inheritance
DistributedApplicationExecutionContext

Constructors

DistributedApplicationExecutionContext(DistributedApplicationExecutionContextOptions)

Constructs a DistributedApplicationExecutionContext with a callback to retrieve the IServiceProvider.

DistributedApplicationExecutionContext(DistributedApplicationOperation, String)

Constructs a DistributedApplicationExecutionContext without a callback to retrieve the IServiceProvider.

DistributedApplicationExecutionContext(DistributedApplicationOperation)

Constructs a DistributedApplicationExecutionContext without a callback to retrieve the IServiceProvider.

Properties

IsInspectMode

Returns true if the current operation is inspecting.

IsPublishMode

Returns true if the current operation is publishing.

IsRunMode

Returns true if the current operation is running.

Operation

The operation currently being performed by the AppHost.

PublisherName

The name of the publisher that is being used if Operation is set to Publish.

ServiceProvider

The IServiceProvider for the AppHost.

Applies to