ApiController.Dispose Method
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
Name | Description | |
---|---|---|
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
|
Dispose(Boolean) | Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. |
See Also
ApiController Class
System.Web.Http Namespace
Return to top
ApiController.Dispose Method ()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Syntax
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
Public Sub Dispose
Implements
Return to top
ApiController.Dispose Method (Boolean)
Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources.
Syntax
protected virtual void Dispose(
bool disposing
)
protected:
virtual void Dispose(
bool disposing
)
abstract Dispose :
disposing:bool -> unit
override Dispose :
disposing:bool -> unit
Protected Overridable Sub Dispose (
disposing As Boolean
)
Parameters
disposing
Type: System.Booleantrue to release both managed and unmanaged resources; false to release only unmanaged resources.
Return to top