DistributedApplicationExecutionContext Properties
Class Properties 5 members
Exposes the global contextual information for this invocation of the AppHost.
Returns true if the current operation is publishing.
public bool IsPublishMode { get; } Returns true if the current operation is running.
public bool IsRunMode { get; } The operation currently being performed by the AppHost.
public DistributedApplicationOperation Operation { get; } The name of the publisher that is being used if
DistributedApplicationExecutionContext.Operation is set to DistributedApplicationOperation.Publish. public string PublisherName { get; set; } The
IServiceProvider for the AppHost. public IServiceProvider ServiceProvider { get; }Exceptions
InvalidOperationException Thrown when the IServiceProvider is not available.