Skip to content
Docs Try Aspire

ContainerRuntimeArgsCallbackContext Constructors

Class Constructors 1 member
Represents a callback context for the list of command-line arguments to be passed to the container runtime run command.
Constructor(IList<object>, CancellationToken) Section titled Constructor(IList<object>, CancellationToken)
Represents a callback context for the list of command-line arguments to be passed to the container runtime run command.
public sealed class ContainerRuntimeArgsCallbackContext
{
public ContainerRuntimeArgsCallbackContext(
IList<object> args,
CancellationToken cancellationToken = default(CancellationToken))
{
// ...
}
}
args IList<object> The list of command-line arguments.
cancellationToken CancellationToken optional The cancellation token associated with this execution.