Condividi tramite


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)

Constructs a DistributedApplicationExecutionContext without a callback to retrieve the IServiceProvider.

Properties

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.

ServiceProvider

The IServiceProvider for the AppHost.

Applies to