Поделиться через


NonCryptographicHashAlgorithm.GetHashCode Метод

Определение

Внимание!

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.

Атрибуты

Исключения

Во всех случаях.

Применяется к