Share via


PassportIdentity.Finalize

PassportIdentity.Finalize

Frees resources used by the PassportIdentity class.

Syntax

protected virtual void Finalize()

Remarks

In C#, finalizers are expressed using destructor syntax.

~PassportIdentity();

The Finalize method acts as a safeguard to clean up resources in the event that the Dispose method is not called. You should implement the Finalize method to clean up unmanaged resources only. This method should not be implemented for managed objects, because the garbage collector cleans up managed resources automatically.

See Also

Passport PassportIdentity Object