DistributedApplicationExecutionContext
Handle
interface DistributedApplicationExecutionContext { readonly isPublishMode: boolean; readonly isRunMode: boolean; readonly operation: DistributedApplicationOperation; publisherName: string; readonly runConfiguration: RunConfiguration; readonly serviceProvider: IServiceProvider; readonly services: IServiceProvider;}8 members
Properties
property
isPublishMode booleangetReturns true if the current operation is publishing.
property
isRunMode booleangetReturns true if the current operation is running.
property
operationDistributedApplicationOperation getThe operation currently being performed by the AppHost.
property
publisherName stringget · setThe name of the publisher that is being used if `Operation` is set to `Publish`.
property
runConfiguration RunConfiguration getDescribes how the AppHost is being run. Only meaningful when `Operation` is `Run`; otherwise every aspect holds its default value.
property
serviceProvider IServiceProvider getThe `IServiceProvider` for the AppHost.
property
servicesIServiceProvider getThe `IServiceProvider` for the AppHost.