Redigera

Dela via


GrainReference.Inequality(GrainReference, GrainReference) Operator

Definition

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

Applies to