ProgressRecord(Int32, String, String) ProgressRecord(Int32, String, String) ProgressRecord(Int32, String, String) Constructor

Definition

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

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 Int32 Int32

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

activity
String String String

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

statusDescription
String String String

A description of the status of the activity.

Applies to