# ExperimentResultsQuery

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.experimentresultsquery/
> Summary: ExperimentResultsQuery: Defines a query for experiment results.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

Defines a query for experiment results.

```csharp
public sealed record ExperimentResultsQuery : IEquatable<ExperimentResultsQuery>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.experimentresultsquery/">ExperimentResultsQuery</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;ExperimentResultsQuery&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_ExperimentResultsQuery__ctor"></a> ExperimentResultsQuery\(\)

```csharp
public ExperimentResultsQuery()
```

## Properties

### <a id="Tracon_ExperimentResultsQuery_ExperimentId"></a> ExperimentId

Gets the identifier of the experiment whose results are requested.

```csharp
public required Guid ExperimentId { get; init; }
```

#### Property Value

 [Guid](https://learn.microsoft.com/dotnet/api/system.guid)

### <a id="Tracon_ExperimentResultsQuery_TenantId"></a> TenantId

Gets the tenant filter. The current tenant is used when it is empty.

```csharp
public string? TenantId { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

## Methods

### <a id="Tracon_ExperimentResultsQuery_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ExperimentResultsQuery_Equals_Tracon_ExperimentResultsQuery_"></a> Equals\(ExperimentResultsQuery?\)

```csharp
public bool Equals(ExperimentResultsQuery? other)
```

#### Parameters

`other` [ExperimentResultsQuery](/api/tracon.experimentresultsquery/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ExperimentResultsQuery_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_ExperimentResultsQuery_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_ExperimentResultsQuery_op_Equality_Tracon_ExperimentResultsQuery_Tracon_ExperimentResultsQuery_"></a> operator ==\(ExperimentResultsQuery?, ExperimentResultsQuery?\)

```csharp
public static bool operator ==(ExperimentResultsQuery? left, ExperimentResultsQuery? right)
```

#### Parameters

`left` [ExperimentResultsQuery](/api/tracon.experimentresultsquery/)?

`right` [ExperimentResultsQuery](/api/tracon.experimentresultsquery/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ExperimentResultsQuery_op_Inequality_Tracon_ExperimentResultsQuery_Tracon_ExperimentResultsQuery_"></a> operator \!=\(ExperimentResultsQuery?, ExperimentResultsQuery?\)

```csharp
public static bool operator !=(ExperimentResultsQuery? left, ExperimentResultsQuery? right)
```

#### Parameters

`left` [ExperimentResultsQuery](/api/tracon.experimentresultsquery/)?

`right` [ExperimentResultsQuery](/api/tracon.experimentresultsquery/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
