Share via


WorkCanceledEventArgs Class

Definition

This class contains the event args when WorkCanceled is invoked.

[System.Runtime.Serialization.DataContract]
public class WorkCanceledEventArgs : EventArgs
[<System.Runtime.Serialization.DataContract>]
type WorkCanceledEventArgs = class
    inherit EventArgs
Public Class WorkCanceledEventArgs
Inherits EventArgs
Inheritance
WorkCanceledEventArgs
Attributes

Constructors

WorkCanceledEventArgs(Guid)

Initializes a new instance of the WorkCanceledEventArgs class.

Properties

Id

Gets the work id, which matches the work id returned from RegisterWorkAsync(String, String, ProgressReporterOptions, CancellationToken).

Applies to