Megosztás a következőn keresztül:


PSHostUserInterface.WriteProgress(Int64, ProgressRecord) Method

Definition

Invoked by System.Management.Automation.Cmdlet.WriteProgress(System.Int64,System.Management.Automation.ProgressRecord) to display a progress record.

public:
 abstract void WriteProgress(long sourceId, System::Management::Automation::ProgressRecord ^ record);
public abstract void WriteProgress (long sourceId, System.Management.Automation.ProgressRecord record);
abstract member WriteProgress : int64 * System.Management.Automation.ProgressRecord -> unit
Public MustOverride Sub WriteProgress (sourceId As Long, record As ProgressRecord)

Parameters

sourceId
Int64

Unique identifier of the source of the record. An int64 is used because typically, the 'this' pointer of the command from whence the record is originating is used, and that may be from a remote Runspace on a 64-bit machine.

record
ProgressRecord

The record being reported to the host.

Applies to

See also