ManifestPublishingContext 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.
Contextual information used for manifest publishing during this execution of the AppHost.
public ManifestPublishingContext (Aspire.Hosting.DistributedApplicationExecutionContext executionContext, string manifestPath, System.Text.Json.Utf8JsonWriter writer, System.Threading.CancellationToken cancellationToken = default);
new Aspire.Hosting.Publishing.ManifestPublishingContext : Aspire.Hosting.DistributedApplicationExecutionContext * string * System.Text.Json.Utf8JsonWriter * System.Threading.CancellationToken -> Aspire.Hosting.Publishing.ManifestPublishingContext
Public Sub New (executionContext As DistributedApplicationExecutionContext, manifestPath As String, writer As Utf8JsonWriter, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- executionContext
- DistributedApplicationExecutionContext
Global contextual information for this invocation of the AppHost.
- manifestPath
- String
Manifest path passed in for this invocation of the AppHost.
- writer
- Utf8JsonWriter
JSON writer used to writing the manifest.
- cancellationToken
- CancellationToken
Cancellation token for this operation.