# PollingOptions Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.pollingoptions/)

## Equals(PollingOptions) {#equals-orleans-durable-tasks-pollingoptions-e1f74cd6}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.pollingoptions/methods/equals-orleans-durable-tasks-pollingoptions-e1f74cd6/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/ISchedulableTask.cs#L125)

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

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

### Parameters

- `other` (`PollingOptions`): 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-10e48e96}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.pollingoptions/methods/equals-object-nullable-10e48e96/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/ISchedulableTask.cs#L128)

```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-a8ae171c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.pollingoptions/methods/gethashcode-a8ae171c/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/ISchedulableTask.cs#L131)

```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.

## operator ==(PollingOptions, PollingOptions) {#op-equality-orleans-durable-tasks-pollingoptions-orleans-durable-tasks-pollingop-a80715c7}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.pollingoptions/methods/op-equality-orleans-durable-tasks-pollingoptions-orleans-durable-tasks-pollingop-a80715c7/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/ISchedulableTask.cs#L134)

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

Returns whether two polling configurations are equivalent.

### Parameters

- `left` (`PollingOptions`)
- `right` (`PollingOptions`)

## operator !=(PollingOptions, PollingOptions) {#op-inequality-orleans-durable-tasks-pollingoptions-orleans-durable-tasks-polling-f2c6bce3}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.abstractions/orleans.durable.tasks.pollingoptions/methods/op-inequality-orleans-durable-tasks-pollingoptions-orleans-durable-tasks-polling-f2c6bce3/)

[Source](https://github.com/dotnet/orleans/blob/6a0e937f544c35ffcf11b37e4c2b7de5a1580a03/src/Orleans.Durable.Abstractions/ISchedulableTask.cs#L137)

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

Returns whether two polling configurations differ.

### Parameters

- `left` (`PollingOptions`)
- `right` (`PollingOptions`)
