DistributedApplicationExecutionContext Constructors
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.
Overloads
DistributedApplicationExecutionContext(DistributedApplicationExecutionContextOptions) |
Constructs a DistributedApplicationExecutionContext with a callback to retrieve the IServiceProvider. |
DistributedApplicationExecutionContext(DistributedApplicationOperation) |
Constructs a DistributedApplicationExecutionContext without a callback to retrieve the IServiceProvider. |
DistributedApplicationExecutionContext(DistributedApplicationExecutionContextOptions)
Constructs a DistributedApplicationExecutionContext with a callback to retrieve the IServiceProvider.
public DistributedApplicationExecutionContext (Aspire.Hosting.DistributedApplicationExecutionContextOptions options);
new Aspire.Hosting.DistributedApplicationExecutionContext : Aspire.Hosting.DistributedApplicationExecutionContextOptions -> Aspire.Hosting.DistributedApplicationExecutionContext
Public Sub New (options As DistributedApplicationExecutionContextOptions)
Parameters
Options for DistributedApplicationExecutionContext.
Applies to
DistributedApplicationExecutionContext(DistributedApplicationOperation)
Constructs a DistributedApplicationExecutionContext without a callback to retrieve the IServiceProvider.
public DistributedApplicationExecutionContext (Aspire.Hosting.DistributedApplicationOperation operation);
new Aspire.Hosting.DistributedApplicationExecutionContext : Aspire.Hosting.DistributedApplicationOperation -> Aspire.Hosting.DistributedApplicationExecutionContext
Public Sub New (operation As DistributedApplicationOperation)
Parameters
- operation
- DistributedApplicationOperation
The operation being performed in this invocation of the AppHost.
Remarks
This constructor is used for internal testing purposes.