SessionSecurityTokenCacheKey.Inequality(SessionSecurityTokenCacheKey, SessionSecurityTokenCacheKey) 运算符
定义
实现 SessionSecurityTokenCacheKey 类的相等运算符。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
参数
要比较的第一个缓存键。The first cache key to compare.
- second
- SessionSecurityTokenCacheKey
要比较的第二个缓存键。The second cache key to compare.
返回
如果缓存键不相等,则为 true;否则为 false。true if the cache keys are not equal; otherwise, false.
注解
如果 IgnoreKeyGeneration 为,则在 true KeyGeneration 比较中不使用属性。If the IgnoreKeyGeneration is true, the KeyGeneration property is not used in the comparison.