InstancePersistenceEvent.Equals Method

Definition

Compares two instances of the InstancePersistenceEvent objects.

Overloads

Equals(Object)

Determines whether the current InstancePersistenceEvent object and the passed object converted as the InstancePersistenceEvent are the same.

Equals(InstancePersistenceEvent)

Determines whether the current InstancePersistenceEvent object and the passed InstancePersistenceEvent object are the same.

Equals(Object)

Determines whether the current InstancePersistenceEvent object and the passed object converted as the InstancePersistenceEvent are the same.

C#
public override bool Equals(object obj);

Parameters

obj
Object

The object to be compared with the current object.

Returns

true if the objects are same; otherwise, false.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Equals(InstancePersistenceEvent)

Determines whether the current InstancePersistenceEvent object and the passed InstancePersistenceEvent object are the same.

C#
public bool Equals(System.Runtime.DurableInstancing.InstancePersistenceEvent persistenceEvent);

Parameters

persistenceEvent
InstancePersistenceEvent

The object to be compared with the current object.

Returns

true if the objects are same; otherwise, false.

Implements

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1