SessionSecurityTokenCacheKey.GetHashCode 方法

定义

返回当前缓存键的哈希代码。Returns a hash code for the current cache key.

public:
 override int GetHashCode();
public override int GetHashCode ();
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

返回

Int32

当前缓存键的哈希代码。The hash code for the current cache key.

注解

如果 IgnoreKeyGenerationtrue ,则 KeyGeneration 在生成哈希代码时不使用属性。If the IgnoreKeyGeneration is true, the KeyGeneration property is not used in generating the hash code.

适用于