GrainReference.Inequality(GrainReference, GrainReference) Operator
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 references for inequality. Two grain references are equal if they both refer to the same grain.
public static bool operator != (Orleans.Runtime.GrainReference reference1, Orleans.Runtime.GrainReference reference2);
static member op_Inequality : Orleans.Runtime.GrainReference * Orleans.Runtime.GrainReference -> bool
Public Shared Operator != (reference1 As GrainReference, reference2 As GrainReference) As Boolean
Parameters
- reference1
- GrainReference
First grain reference to compare.
- reference2
- GrainReference
Second grain reference to compare.
Returns
false
if both grain references are resolved to the same grain (by grain identifier).