# ProcessCommandResultContext Constructors

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ProcessCommandResultContext](/reference/api/csharp/aspire.hosting/processcommandresultcontext.md)
- Kind: `Constructors`
- Members: `1`

Context passed to callback to configure [ExecuteCommandResult](/reference/api/csharp/aspire.hosting/executecommandresult.md) when using [ResourceBuilderExtensions.WithProcessCommand(IResourceBuilder<TResource>, string, string, string, IReadOnlyList<string>, ProcessCommandOptions?)](/reference/api/csharp/aspire.hosting/resourcebuilderextensions/methods.md#withprocesscommand-iresourcebuilder-tresource-string-string-string-ireadonlylist-string-processcommandoptions).

## ProcessCommandResultContext

- Name: `Constructor`

```csharp
public sealed class ProcessCommandResultContext
{
    public ProcessCommandResultContext()
    {
        // ...
    }
}
```
