ProgressRecord Constructors

Definition

Overloads

ProgressRecord(Int32)

Initializes a new instance of the ProgressRecord class and defines the activity Id.

ProgressRecord(Int32, String, String)

Initializes a new instance of the ProgressRecord class and defines the activity Id, activity description, and status description.

ProgressRecord(Int32)

Initializes a new instance of the ProgressRecord class and defines the activity Id.

public ProgressRecord (int activityId);
new System.Management.Automation.ProgressRecord : int -> System.Management.Automation.ProgressRecord
Public Sub New (activityId As Integer)

Parameters

activityId
Int32

A unique numeric key that identifies the activity to which this record applies.

Applies to

ProgressRecord(Int32, String, String)

Initializes a new instance of the ProgressRecord class and defines the activity Id, activity description, and status description.

public:
 ProgressRecord(int activityId, System::String ^ activity, System::String ^ statusDescription);
public:
 ProgressRecord(int activityId, Platform::String ^ activity, Platform::String ^ statusDescription);
 ProgressRecord(int activityId, std::wstring const & activity, std::wstring const & statusDescription);
public ProgressRecord (int activityId, string activity, string statusDescription);
new System.Management.Automation.ProgressRecord : int * string * string -> System.Management.Automation.ProgressRecord
Public Sub New (activityId As Integer, activity As String, statusDescription As String)

Parameters

activityId
Int32

A unique numeric key that identifies the activity to which this record applies.

activity
String

A description of the activity for which progress is being reported.

statusDescription
String

A description of the status of the activity.

Applies to