# ContainerRuntimeArgsCallbackContext Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ContainerRuntimeArgsCallbackContext](/reference/api/csharp/aspire.hosting/containerruntimeargscallbackcontext.md)
- Kind: `Properties`
- Members: `2`

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

## Args

- Name: `Args`
- Modifiers: `get`
- Returns: `IList<object>`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerRuntimeArgsCallbackAnnotation.cs#L56)

Gets the list of command-line arguments.

```csharp
public IList<object> Args { get; }
```

## CancellationToken

- Name: `CancellationToken`
- Modifiers: `get`
- Returns: `CancellationToken`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerRuntimeArgsCallbackAnnotation.cs#L61)

Gets the cancellation token associated with the callback context.

```csharp
public CancellationToken CancellationToken { get; }
```
