編輯

共用方式為


EventLogRecord.Dispose(Boolean) Method

Definition

Releases the unmanaged resources used by this object, and optionally releases the managed resources.

protected:
 override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Attributes

Applies to

See also