<PackageReference Include="System.ComponentModel.EventBasedAsync" Version="4.0.11-beta-23409" />

System.ComponentModel.DoWorkEventArgs

public class DoWorkEventArgs : EventArgs
Provides data for the DoWork event handler.
public object Argument { get; }

Gets a value that represents the argument of an asynchronous operation.

public bool Cancel { get; set; }

public object Result { get; set; }

Gets or sets a value that represents the result of an asynchronous operation.

public DoWorkEventArgs(object argument)

Initializes a new instance of the DoWorkEventArgs class.