TaskExecutionLogEntryEventArgs Konstruktor

Definisi

Menginisialisasi instans TaskExecutionLogEntryEventArgs baru kelas dengan parameter tugas, pesan, kesalahan, dan logEntryType yang ditentukan.

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

Antarmuka yang mewakili tugas.

message
String

String yang mewakili pesan.

error
Exception

Pesan pengecualian.

logEntryType
TaskExecutionLogEntryType

Jenis logEntry yang akan digunakan.

Berlaku untuk