共用方式為


ContainerRuntimeArgsCallbackContext Constructor

Definition

Represents a callback context for the list of command-line arguments to be passed to the container runtime run command.

public ContainerRuntimeArgsCallbackContext (System.Collections.Generic.IList<object> args, System.Threading.CancellationToken cancellationToken = default);
new Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackContext : System.Collections.Generic.IList<obj> * System.Threading.CancellationToken -> Aspire.Hosting.ApplicationModel.ContainerRuntimeArgsCallbackContext
Public Sub New (args As IList(Of Object), Optional cancellationToken As CancellationToken = Nothing)

Parameters

args
IList<Object>

The list of command-line arguments.

cancellationToken
CancellationToken

The cancellation token associated with this execution.

Applies to