NonCryptographicHashAlgorithm.GetHashCode 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use GetCurrentHash() to retrieve the computed hash code.
此方法不受支持,不应调用。 呼叫 GetCurrentHash() 或 GetHashAndReset() 改为。
public:
override int GetHashCode();
[System.Obsolete("Use GetCurrentHash() to retrieve the computed hash code.", true)]
public override int GetHashCode();
[<System.Obsolete("Use GetCurrentHash() to retrieve the computed hash code.", true)>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer
返回
此方法始终会引发一个 NotSupportedException。
- 特性
例外
在所有情况下。