TaskExecutionLogEntryEventArgs Konstruktor

Definition

Initialisiert eine neue Instanz der TaskExecutionLogEntryEventArgs-Klasse mit dem angegebenen Task, der Meldung, dem Fehler und dem logEntryType-Parameter.

public:
 TaskExecutionLogEntryEventArgs(Microsoft::SqlServer::Management::ITask ^ task, System::String ^ message, Exception ^ error, Microsoft::SqlServer::Management::TaskExecutionLogEntryType logEntryType);
public TaskExecutionLogEntryEventArgs (Microsoft.SqlServer.Management.ITask task, string message, Exception error, Microsoft.SqlServer.Management.TaskExecutionLogEntryType logEntryType);
new Microsoft.SqlServer.Management.TaskForms.TaskExecutionLogEntryEventArgs : Microsoft.SqlServer.Management.ITask * string * Exception * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> Microsoft.SqlServer.Management.TaskForms.TaskExecutionLogEntryEventArgs
Public Sub New (task As ITask, message As String, error As Exception, logEntryType As TaskExecutionLogEntryType)

Parameter

task
ITask

Eine Schnittstelle, die den Task darstellt.

message
String

Eine Zeichenfolge, die die Meldung darstellt.

error
Exception

Die Ausnahmemeldung.

logEntryType
TaskExecutionLogEntryType

Der typ der zu verwendenden logEntry.

Gilt für: