AbortController Class

https://dom.spec.whatwg.org/#interface-abortcontroller

public class AbortController

Constructors

NameDescription
AbortController()Creates a controller with a new signal.

AbortController()

AbortSignal.cs

Creates a controller with a new signal.

public AbortController()

Properties

NameDescription
SignalGets the signal controlled by the controller.

Gets the signal controlled by the controller.

public AbortSignal Signal { get; }

Methods

NameDescription
Abort(object?)https://dom.spec.whatwg.org/#dom-abortcontroller-abort

Abort(object?)

AbortSignal.cs

https://dom.spec.whatwg.org/#dom-abortcontroller-abort

public void Abort(object? reason = null)