Edit

Share via


OperationInfo.Equals(Object) Method

Definition

Determines whether two object instances are equal.

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 compare with the current OperationInfo.

Returns

true to indicate that the current OperationInfo and obj are equal; otherwise, false.

Remarks

This operation compares the values of the ContractName, IsOneWay, Parameters, and ProtectionLevel values.

Applies to