Edit

Share via


SessionSecurityTokenCacheKey.Inequality Operator

Definition

Implements the equality operator for the SessionSecurityTokenCacheKey class.

public:
 static bool operator !=(System::IdentityModel::Tokens::SessionSecurityTokenCacheKey ^ first, System::IdentityModel::Tokens::SessionSecurityTokenCacheKey ^ second);
public static bool operator != (System.IdentityModel.Tokens.SessionSecurityTokenCacheKey first, System.IdentityModel.Tokens.SessionSecurityTokenCacheKey second);
static member op_Inequality : System.IdentityModel.Tokens.SessionSecurityTokenCacheKey * System.IdentityModel.Tokens.SessionSecurityTokenCacheKey -> bool
Public Shared Operator != (first As SessionSecurityTokenCacheKey, second As SessionSecurityTokenCacheKey) As Boolean

Parameters

first
SessionSecurityTokenCacheKey

The first cache key to compare.

second
SessionSecurityTokenCacheKey

The second cache key to compare.

Returns

true if the cache keys are not equal; otherwise, false.

Remarks

If the IgnoreKeyGeneration is true, the KeyGeneration property is not used in the comparison.

Applies to