PSActivity.WriteProgressRecord Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Write a progress record fo the current activity
protected:
void WriteProgressRecord(System::Activities::NativeActivityContext ^ context, System::Management::Automation::PSDataCollection<System::Management::Automation::ProgressRecord ^> ^ progress, System::String ^ statusDescription, System::Management::Automation::ProgressRecordType type);
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
- context
- NativeActivityContext
Workflow engine context
- progress
- PSDataCollection<ProgressRecord>
The progress stream to write to
- statusDescription
- String
The status string to display
- type
- ProgressRecordType
the Progress record type