Dispose(Boolean) MethodSave PDFSave selected topicSave selected topic and subtopicsSave all topicsShareShare to emailCopy topic URLLast UpdatedAug 21, 20261 minute readHMI and SCADAOperations Management Interface 2026 Releases unmanaged and - optionally - managed resourcesSyntax Visual BasicC#C++/CLI 'Declaration Protected Overloads Overridable Sub Dispose( _ ByVal disposing As Boolean _ ) protected virtual void Dispose( bool disposing ) protected: virtual void Dispose( bool disposing ) Parametersdisposing true to release both managed and unmanaged resources; false to release only unmanaged resources. RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceDisposable ClassDisposable MembersOverload List In This Topic
Releases unmanaged and - optionally - managed resourcesSyntax Visual BasicC#C++/CLI 'Declaration Protected Overloads Overridable Sub Dispose( _ ByVal disposing As Boolean _ ) protected virtual void Dispose( bool disposing ) protected: virtual void Dispose( bool disposing ) Parametersdisposing true to release both managed and unmanaged resources; false to release only unmanaged resources. RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceDisposable ClassDisposable MembersOverload List
Releases unmanaged and - optionally - managed resourcesSyntax Visual BasicC#C++/CLI 'Declaration Protected Overloads Overridable Sub Dispose( _ ByVal disposing As Boolean _ ) protected virtual void Dispose( bool disposing ) protected: virtual void Dispose( bool disposing ) Parametersdisposing true to release both managed and unmanaged resources; false to release only unmanaged resources. RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceDisposable ClassDisposable MembersOverload List
Releases unmanaged and - optionally - managed resourcesSyntax Visual BasicC#C++/CLI 'Declaration Protected Overloads Overridable Sub Dispose( _ ByVal disposing As Boolean _ ) protected virtual void Dispose( bool disposing ) protected: virtual void Dispose( bool disposing ) Parametersdisposing true to release both managed and unmanaged resources; false to release only unmanaged resources. RequirementsTarget Platforms:Windows 11 Enterprise, IoT Enterprise 2024 LTSC 24H2 Windows Server 2022 LTSC Standard and Datacenter Windows Server 2025 LTSC Standard and Datacenter See AlsoReferenceDisposable ClassDisposable MembersOverload List