Dispose Method (Boolean)

Disposes logging resources and optionally releases the managed resources.

Namespace:  Microsoft.Web.Media.TransformManager
Assembly:  Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)

Syntax

'Declaration

  Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
'Usage

  Dim disposing As Boolean

Me.Dispose(disposing)
  protected virtual void Dispose(
    bool disposing
)
  protected:
virtual void Dispose(
    bool disposing
)
  abstract Dispose : 
        disposing:bool -> unit 
override Dispose : 
        disposing:bool -> unit 
  protected function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: System. . :: . .Boolean
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

The Dispose(Boolean) method executes in two scenarios. If the disposing parameter is true, the method has been called directly or indirectly using code. Managed and unmanaged resources can be disposed. If the disposing parameter is false, the method has been called internally by the runtime. In that case, other objects should not be referenced. Only unmanaged resources can be disposed.

See Also

Reference

Logger Class

Dispose Overload

Microsoft.Web.Media.TransformManager Namespace