# WebhookDeliveryResult

> 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.webhookdeliveryresult/
> Summary: WebhookDeliveryResult: The result of a delivery attempt.

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

The result of a delivery attempt.

```csharp
public sealed record WebhookDeliveryResult : IEquatable<WebhookDeliveryResult>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.webhookdeliveryresult/">WebhookDeliveryResult</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;WebhookDeliveryResult&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_WebhookDeliveryResult__ctor"></a> WebhookDeliveryResult\(\)

```csharp
public WebhookDeliveryResult()
```

## Properties

### <a id="Tracon_WebhookDeliveryResult_Attempt"></a> Attempt

The attempt number.

```csharp
public required int Attempt { get; init; }
```

#### Property Value

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

The delivery identifier.

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

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

The error message.

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

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_WebhookDeliveryResult_RecordedAt"></a> RecordedAt

The moment the result was recorded (UTC).

```csharp
public required DateTimeOffset RecordedAt { get; init; }
```

#### Property Value

 [DateTimeOffset](https://learn.microsoft.com/dotnet/api/system.datetimeoffset)

### <a id="Tracon_WebhookDeliveryResult_ResponseCode"></a> ResponseCode

The HTTP status code the recipient returned.

```csharp
public int? ResponseCode { get; init; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)?

### <a id="Tracon_WebhookDeliveryResult_Status"></a> Status

The final status.

```csharp
public required WebhookDeliveryStatus Status { get; init; }
```

#### Property Value

 [WebhookDeliveryStatus](/api/tracon.webhookdeliverystatus/)

## Methods

### <a id="Tracon_WebhookDeliveryResult_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_WebhookDeliveryResult_Equals_Tracon_WebhookDeliveryResult_"></a> Equals\(WebhookDeliveryResult?\)

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

`other` [WebhookDeliveryResult](/api/tracon.webhookdeliveryresult/)?

#### Returns

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

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

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

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

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

### <a id="Tracon_WebhookDeliveryResult_op_Equality_Tracon_WebhookDeliveryResult_Tracon_WebhookDeliveryResult_"></a> operator ==\(WebhookDeliveryResult?, WebhookDeliveryResult?\)

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

`left` [WebhookDeliveryResult](/api/tracon.webhookdeliveryresult/)?

`right` [WebhookDeliveryResult](/api/tracon.webhookdeliveryresult/)?

#### Returns

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

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

`left` [WebhookDeliveryResult](/api/tracon.webhookdeliveryresult/)?

`right` [WebhookDeliveryResult](/api/tracon.webhookdeliveryresult/)?

#### Returns

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