Dispose(Boolean) Method

Summary

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Syntax
C#
VB
C++
protected virtual void Dispose( 
   bool disposing 
) 
Protected Overloads Overridable Sub Dispose( _ 
   ByVal disposing As Boolean _ 
)  
protected: 
virtual void Dispose(  
   bool disposing 
)  

Parameters

disposing
True to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

Use this method to close or release unmanaged resources such as files, streams, and handles held by an instance of the class that implements this interface. By convention, this method is used for all tasks associated with freeing resources held by an object, or preparing an object for reuse.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaStreaming Assembly