Share via


BaseProvider.Dispose Method

 

Releases the unmanaged resources used by the BaseProvider class, and optionally releases the managed resources.

Syntax

protected virtual void Dispose(bool disposing)
{
}
Protected Overridable Sub Dispose(disposing As Boolean)
End Sub

Parameters

Parameter Name Description
disposing true to release both managed and unmanaged resources; false to release only unmanaged resources.

Requirements

Type Description
Client - IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016 Technical Preview
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
Reference Microsoft.Web.FtpServer.dll

See Also

BaseProvider Class