X509Certificate.Reset 方法

定義

重設 X509Certificate2 物件的狀態。Resets the state of the X509Certificate2 object.

public:
 virtual void Reset();
public virtual void Reset ();
[System.Runtime.InteropServices.ComVisible(false)]
public virtual void Reset ();
[System.Runtime.InteropServices.ComVisible(false)]
[System.Security.SecurityCritical]
public virtual void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
[<System.Runtime.InteropServices.ComVisible(false)>]
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Security.SecurityCritical>]
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Overridable Sub Reset ()
屬性

備註

使用 Reset 方法來重設憑證的狀態。Use the Reset method to reset the state of the certificate. 此方法也會釋出任何與憑證相關聯的資源。This method also frees any resources associated with the certificate.

適用於