TaskExecutionLogEntryEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新實例 TaskExecutionLogEntryEventArgs ,使用指定的任務、訊息、錯誤及 logEntryType 參數。
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)
參數
- task
- ITask
一個代表任務的介面。
- message
- String
一個代表訊息的字串。
- error
- Exception
例外狀況訊息。
- logEntryType
- TaskExecutionLogEntryType
使用哪種類型的 logEntry。