# QueueCacheMissInfo Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.queuecachemissinfo/)

## Equals(QueueCacheMissInfo) {#equals-orleans-streams-queuecachemissinfo-d5a2176e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.queuecachemissinfo/methods/equals-orleans-streams-queuecachemissinfo-d5a2176e/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Streaming/QueueAdapters/QueueCacheCursorResult.cs#L128-L130)

```csharp
public bool Equals(QueueCacheMissInfo other)
```

Indicates whether the current object is equal to another object of the same type.

### Parameters

- `other` (`QueueCacheMissInfo`): An object to compare with this object.

### Returns

`true` if the current object is equal to the `other` parameter; otherwise, `false`.

## Equals(object?) {#equals-object-nullable-7356761a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.queuecachemissinfo/methods/equals-object-nullable-7356761a/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Streaming/QueueAdapters/QueueCacheCursorResult.cs#L133)

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

Indicates whether this instance and a specified object are equal.

### Parameters

- `obj` (`object?`): The object to compare with the current instance.

### Returns

`true` if `obj` and this instance are the same type and represent the same value; otherwise, `false`.

## GetHashCode {#gethashcode-8358b668}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.queuecachemissinfo/methods/gethashcode-8358b668/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Streaming/QueueAdapters/QueueCacheCursorResult.cs#L136)

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

Returns the hash code for this instance.

### Returns

A 32-bit signed integer that is the hash code for this instance.

## ToException {#toexception-d7a3b650}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.queuecachemissinfo/methods/toexception-d7a3b650/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Streaming/QueueAdapters/QueueCacheCursorResult.cs#L152)

```csharp
public QueueCacheMissException ToException()
```

Creates an exception representing this cache miss.

### Returns

A queue cache miss exception.

## operator ==(QueueCacheMissInfo, QueueCacheMissInfo) {#op-equality-orleans-streams-queuecachemissinfo-orleans-streams-queuecachemissinf-47bf0903}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.queuecachemissinfo/methods/op-equality-orleans-streams-queuecachemissinfo-orleans-streams-queuecachemissinf-47bf0903/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Streaming/QueueAdapters/QueueCacheCursorResult.cs#L141)

```csharp
public static bool operator ==(QueueCacheMissInfo left, QueueCacheMissInfo right)
```

Determines whether two cache-miss descriptions are equal.

### Parameters

- `left` (`QueueCacheMissInfo`)
- `right` (`QueueCacheMissInfo`)

## operator !=(QueueCacheMissInfo, QueueCacheMissInfo) {#op-inequality-orleans-streams-queuecachemissinfo-orleans-streams-queuecachemissi-02b66777}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.queuecachemissinfo/methods/op-inequality-orleans-streams-queuecachemissinfo-orleans-streams-queuecachemissi-02b66777/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Streaming/QueueAdapters/QueueCacheCursorResult.cs#L146)

```csharp
public static bool operator !=(QueueCacheMissInfo left, QueueCacheMissInfo right)
```

Determines whether two cache-miss descriptions are unequal.

### Parameters

- `left` (`QueueCacheMissInfo`)
- `right` (`QueueCacheMissInfo`)
