EnvironmentCallbackContext Constructor
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.
Represents a callback context for environment variables associated with a publisher.
public EnvironmentCallbackContext (Aspire.Hosting.DistributedApplicationExecutionContext executionContext, System.Collections.Generic.Dictionary<string,object>? environmentVariables = default, System.Threading.CancellationToken cancellationToken = default);
new Aspire.Hosting.ApplicationModel.EnvironmentCallbackContext : Aspire.Hosting.DistributedApplicationExecutionContext * System.Collections.Generic.Dictionary<string, obj> * System.Threading.CancellationToken -> Aspire.Hosting.ApplicationModel.EnvironmentCallbackContext
Public Sub New (executionContext As DistributedApplicationExecutionContext, Optional environmentVariables As Dictionary(Of String, Object) = Nothing, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- executionContext
- DistributedApplicationExecutionContext
The execution context for this invocation of the AppHost.
- environmentVariables
- Dictionary<String,Object>
The environment variables associated with this execution.
- cancellationToken
- CancellationToken