PSActivity.WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) PSActivity.WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) PSActivity.WriteProgressRecord(NativeActivityContext, PSDataCollection<ProgressRecord>, String, ProgressRecordType) Method

Definition

Write a progress record fo the current activity

protected void WriteProgressRecord (System.Activities.NativeActivityContext context, System.Management.Automation.PSDataCollection<System.Management.Automation.ProgressRecord> progress, string statusDescription, System.Management.Automation.ProgressRecordType type);
member this.WriteProgressRecord : System.Activities.NativeActivityContext * System.Management.Automation.PSDataCollection<System.Management.Automation.ProgressRecord> * string * System.Management.Automation.ProgressRecordType -> unit
Protected Sub WriteProgressRecord (context As NativeActivityContext, progress As PSDataCollection(Of ProgressRecord), statusDescription As String, type As ProgressRecordType)
Parameters
progress
PSDataCollection<ProgressRecord>

The progress stream to write to

statusDescription
String String String

The status string to display

Applies to