Domain Detective

API Reference

Class

AsyncPSCmdlet

Namespace DomainDetective.PowerShell
Assembly DomainDetective.PowerShell
Base PSCmdlet
Implements
IDisposable
Modifiers abstract

Base class for asynchronous PowerShell cmdlets.

Inheritance

  • PSCmdlet
  • AsyncPSCmdlet

Methods

BeginProcessing() #

Invoked when the cmdlet begins execution. Runs BeginProcessingAsync within the asynchronous pipeline.

BeginProcessingAsync() #

Performs initialization logic for the cmdlet.

Returns

A Task representing the asynchronous operation.

public virtual Void Dispose() #
Returns: Void

Disposes managed resources.

EndProcessing() #

Invoked once when processing has completed. Runs EndProcessingAsync within the asynchronous pipeline.

EndProcessingAsync() #

Performs cleanup logic for the cmdlet.

Returns

A Task representing the asynchronous operation.

ProcessRecord() #

Processes input records synchronously and dispatches ProcessRecordAsync.

ProcessRecordAsync() #

Executes the main cmdlet logic.

Returns

A Task representing the asynchronous operation.

StopProcessing() #

Requests cancellation of the cmdlet execution.

ThrowIfStopped() #

Throws if the cmdlet execution has been stopped.

Properties

CancelToken #

Gets the cancellation token for the cmdlet execution.

{{ include "footer" }}