InstancePersistenceEvent.Equals Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
 override bool Equals(System::Object ^ obj);
	public override bool Equals(object obj);
	override this.Equals : obj -> bool
	Public Overrides Function Equals (obj As Object) As Boolean
	Parameters
- obj
 - Object
 
The object to be compared with the current object.
Returns
true if the objects are same; otherwise, false.
Applies to
Equals(InstancePersistenceEvent)
Determines whether the current InstancePersistenceEvent object and the passed InstancePersistenceEvent object are the same.
public:
 virtual bool Equals(System::Runtime::DurableInstancing::InstancePersistenceEvent ^ persistenceEvent);
	public bool Equals(System.Runtime.DurableInstancing.InstancePersistenceEvent persistenceEvent);
	override this.Equals : System.Runtime.DurableInstancing.InstancePersistenceEvent -> bool
	Public Function Equals (persistenceEvent As InstancePersistenceEvent) As Boolean
	Parameters
- persistenceEvent
 - InstancePersistenceEvent
 
The object to be compared with the current object.
Returns
true if the objects are same; otherwise, false.