SHA1Managed.Dispose(Boolean) SHA1Managed.Dispose(Boolean) SHA1Managed.Dispose(Boolean) SHA1Managed.Dispose(Boolean) Method

定义

释放由 SHA1Managed 对象使用的非托管资源并(可选)释放托管资源。Releases unmanaged resources used by the SHA1Managed object and optionally releases the managed resources.

protected:
 override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)

参数

disposing
Boolean Boolean Boolean Boolean

true 表示释放托管资源和非托管资源;false 表示仅释放非托管资源。true to release both managed and unmanaged resources; false to release only unmanaged resources.

注解

此方法由公共Dispose()方法Finalize和方法调用。This method is called by the public Dispose() method and the Finalize method. Dispose()调用受保护Dispose(Boolean)的方法, disposing并将参数true设置为。Dispose() invokes the protected Dispose(Boolean) method with the disposing parameter set to true. FinalizeDispose(Boolean) 设置disposingfalse的情况调用。Finalize invokes Dispose(Boolean) with disposing set to false.

适用于