> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Struct ComponentRunResultsMetadata

Namespace: [Phoenix.ComponentAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI)\
Assembly: Phoenix.ComponentAPI.dll

An immutable structure that contains metadata about a particular run.

```csharp theme={null}
public struct ComponentRunResultsMetadata

```

#### Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Constructors

[ComponentRunResultsMetadata(RunStatus, Exception)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.ComponentRunResultsMetadata.-ctor.md)

Constructor

## Properties

[Error](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.ComponentRunResultsMetadata.Error.md)

If ResultStatus is Error, this will contain an exception describing the error. Otherwise
it will contain null.

[ResultStatus](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.ComponentRunResultsMetadata.ResultStatus.md)

The status of this run.

## Methods

[IsValidStatus(RunStatus)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.ComponentRunResultsMetadata.IsValidStatus.md#isvalidstatus-runstatus)

Given a status, check if it is a valid status for a component run result.
The valid statuses are those that indicate that the run is complete -
`Phoenix.ComponentAPI.RunStatus.SUCCESS`, `Phoenix.ComponentAPI.RunStatus.FAILED`, `Phoenix.ComponentAPI.RunStatus.CANCELED`.

[RequireValidStatus(RunStatus, string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentAPI.ComponentRunResultsMetadata.RequireValidStatus.md#requirevalidstatus-runstatus-string)

Given a run status, check if it is a valid status for a run result.
If it is valid, return the provided status.
Otherwise, throw an `System.ArgumentOutOfRangeException`.
