TaskExecutionContext.Log 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
태스크 실행 진행률을 기록합니다.
오버로드
Log(ITask, Exception) |
지정한 태스크의 태스크 실행 진행률과 예외를 기록합니다. |
Log(ITask, String) |
태스크 실행 진행률을 기록합니다. |
Log(ITask, String, TaskExecutionLogEntryType) |
지정한 태스크, 메시지 및 로그 항목 유형을 사용하여 태스크 실행 진행률을 기록합니다. |
Log(ITask, String, Exception, TaskExecutionLogEntryType) |
지정한 태스크, 메시지, 예외 및 로그 항목 유형을 사용하여 태스크 실행 진행률을 기록합니다. |
Log(ITask, Exception)
지정한 태스크의 태스크 실행 진행률과 예외를 기록합니다.
public:
virtual void Log(Microsoft::SqlServer::Management::ITask ^ task, Exception ^ error);
public void Log (Microsoft.SqlServer.Management.ITask task, Exception error);
abstract member Log : Microsoft.SqlServer.Management.ITask * Exception -> unit
override this.Log : Microsoft.SqlServer.Management.ITask * Exception -> unit
Public Sub Log (task As ITask, error As Exception)
매개 변수
구현
적용 대상
Log(ITask, String)
태스크 실행 진행률을 기록합니다.
public:
virtual void Log(Microsoft::SqlServer::Management::ITask ^ task, System::String ^ message);
public void Log (Microsoft.SqlServer.Management.ITask task, string message);
abstract member Log : Microsoft.SqlServer.Management.ITask * string -> unit
override this.Log : Microsoft.SqlServer.Management.ITask * string -> unit
Public Sub Log (task As ITask, message As String)
매개 변수
구현
적용 대상
Log(ITask, String, TaskExecutionLogEntryType)
지정한 태스크, 메시지 및 로그 항목 유형을 사용하여 태스크 실행 진행률을 기록합니다.
public:
virtual void Log(Microsoft::SqlServer::Management::ITask ^ task, System::String ^ message, Microsoft::SqlServer::Management::TaskExecutionLogEntryType logEntryType);
public void Log (Microsoft.SqlServer.Management.ITask task, string message, Microsoft.SqlServer.Management.TaskExecutionLogEntryType logEntryType);
abstract member Log : Microsoft.SqlServer.Management.ITask * string * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> unit
override this.Log : Microsoft.SqlServer.Management.ITask * string * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> unit
Public Sub Log (task As ITask, message As String, logEntryType As TaskExecutionLogEntryType)
매개 변수
- logEntryType
- TaskExecutionLogEntryType
이 메시지의 TaskExecutionLogEntryType입니다.
구현
적용 대상
Log(ITask, String, Exception, TaskExecutionLogEntryType)
지정한 태스크, 메시지, 예외 및 로그 항목 유형을 사용하여 태스크 실행 진행률을 기록합니다.
public:
virtual void Log(Microsoft::SqlServer::Management::ITask ^ task, System::String ^ message, Exception ^ error, Microsoft::SqlServer::Management::TaskExecutionLogEntryType logEntryType);
public void Log (Microsoft.SqlServer.Management.ITask task, string message, Exception error, Microsoft.SqlServer.Management.TaskExecutionLogEntryType logEntryType);
abstract member Log : Microsoft.SqlServer.Management.ITask * string * Exception * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> unit
override this.Log : Microsoft.SqlServer.Management.ITask * string * Exception * Microsoft.SqlServer.Management.TaskExecutionLogEntryType -> unit
Public Sub Log (task As ITask, message As String, error As Exception, logEntryType As TaskExecutionLogEntryType)
매개 변수
- logEntryType
- TaskExecutionLogEntryType
이 메시지의 TaskExecutionLogEntryType입니다.