# RunProcessAndCaptureStdOutResult Constructors

- Package: [Aspire.Hosting.AWS](/reference/api/csharp/aspire.hosting.aws.md)
- Type: [RunProcessAndCaptureStdOutResult](/reference/api/csharp/aspire.hosting.aws/runprocessandcapturestdoutresult.md)
- Kind: `Constructors`
- Members: `1`

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

## RunProcessAndCaptureStdOutResult(int, string)

- Name: `Constructor(int, string)`

```csharp
public record RunProcessAndCaptureStdOutResult
{
    public RunProcessAndCaptureStdOutResult(
        int ExitCode,
        string Output)
    {
        // ...
    }
}
```

## Parameters

- `ExitCode` (`int`)
- `Output` (`string`)
