ApiController.Dispose Method (Boolean)
Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.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.