VideoDevice.Dispose Method

Definition

Overloads

Dispose()
Dispose(Boolean)

Releases the unmanaged resources used by the VideoDevice and optionally releases the managed resources.

Dispose()

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

C#
public void Dispose ();

Implements

Applies to

.NET IoT Libraries 2.2.0 and other versions
Product Versions
.NET IoT Libraries 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0

Dispose(Boolean)

Releases the unmanaged resources used by the VideoDevice and optionally releases the managed resources.

C#
protected virtual void Dispose (bool disposing);

Parameters

disposing
Boolean

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

Applies to

.NET IoT Libraries 2.2.0 and other versions
Product Versions
.NET IoT Libraries 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0