BackgroundWorker.Dispose Method

Definition

Overloads

Dispose()

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

Dispose(Boolean)

This method does not do anything.

Dispose()

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

C#
public void Dispose();

Implements

Applies to

.NET Core 1.1 and other versions
Product Versions
.NET Core 1.0, Core 1.1
UWP 10.0

Dispose(Boolean)

Source:
BackgroundWorker.cs
Source:
BackgroundWorker.cs
Source:
BackgroundWorker.cs

This method does not do anything.

C#
protected virtual void Dispose(bool disposing);
C#
protected override void Dispose(bool disposing);

Parameters

disposing
Boolean

This method does not do anything.

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1
UWP 10.0