Skip to content
DocsTry Aspire
DocsTry

ContainerRuntimeArgsCallbackContext Constructors

ClassConstructors1 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))
{
// ...
}
}
argsIList<object>The list of command-line arguments.
cancellationTokenCancellationTokenoptionalThe cancellation token associated with this execution.