Share via


Support.ReportProgress Method

Applies To: Windows 8.1

Reports the progress of the assessment to the AXE engine and can inform the assessment if the assessment should stop running.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As Support
Dim progressType As AxeProgressType
Dim progressValue As UInteger
Dim progressMessage As String

instance.ReportProgress(progressType, progressValue, progressMessage)

Syntax

'Declaration
Public Sub ReportProgress ( _
    progressType As AxeProgressType, _
    progressValue As UInteger, _
    progressMessage As String _
)
public void ReportProgress (
    AxeProgressType progressType,
    uint progressValue,
    string progressMessage
)
public:
void ReportProgress (
    AxeProgressType progressType, 
    unsigned int progressValue, 
    String^ progressMessage
)
public void ReportProgress (
    AxeProgressType progressType, 
    UInt32 progressValue, 
    String progressMessage
)
public function ReportProgress (
    progressType : AxeProgressType, 
    progressValue : uint, 
    progressMessage : String
)

Parameters

  • progressType
    The type of progress data that is contained within the other parameters.
  • progressValue
    An integer value that is interpreted according to the progressType parameter.
  • progressMessage
    A string that is interpreted according to the progressType parameter.

Remarks

The parameters to this method enable the assessment to report different types of progress to an application. Applications can display the information. See the definition of the AxeProgressType enumeration for restrictions and error conditions.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Support Class
Support Members
Microsoft.Assessments.Runtime Namespace