TaskExecutionProgressEventArgs(ITask, Int32, String) Constructor
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.
Initializes a new instance of the TaskExecutionProgressEventArgs class with the specified task, percentage of progress, and event message.
public:
TaskExecutionProgressEventArgs(Microsoft::SqlServer::Management::ITask ^ task, int progressPercentage, System::String ^ message);
public TaskExecutionProgressEventArgs (Microsoft.SqlServer.Management.ITask task, int progressPercentage, string message);
new Microsoft.SqlServer.Management.TaskExecutionProgressEventArgs : Microsoft.SqlServer.Management.ITask * int * string -> Microsoft.SqlServer.Management.TaskExecutionProgressEventArgs
Public Sub New (task As ITask, progressPercentage As Integer, message As String)
Parameters
- task
- ITask
An interface that displays the progress of an event.
- progressPercentage
- Int32
An integer that specifies the percentage of the progress of an event.
- message
- String
The specified string of an event.