DistributedApplicationExecutionContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for