다음을 통해 공유


TaskExecutionContext.Log 메서드

정의

태스크 실행 진행률을 기록합니다.

오버로드

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)

매개 변수

task
ITask

로깅할 태스크를 나타내는 ITask입니다.

error
Exception

이 메시지와 연결된 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)

매개 변수

task
ITask

로깅할 태스크를 나타내는 ITask입니다.

message
String

로깅할 메시지를 포함하는 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)

매개 변수

task
ITask

로깅할 태스크를 나타내는 ITask입니다.

message
String

로깅할 메시지를 포함하는 String입니다.

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)

매개 변수

task
ITask

로깅할 태스크를 나타내는 ITask입니다.

message
String

로깅할 메시지를 포함하는 String입니다.

error
Exception

이 메시지와 연결된 Exception입니다.

logEntryType
TaskExecutionLogEntryType

이 메시지의 TaskExecutionLogEntryType입니다.

구현

적용 대상