ITaskExecutionContext.Log 메서드

정의

태스크에 대해 log 메서드를 실행합니다.

오버로드

Log(ITask, Exception)

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

Log(ITask, String)

지정된 문자열 매개 변수를 사용하여 로그에 태스크 실행 진행률을 나타냅니다.

Log(ITask, String, TaskExecutionLogEntryType)

지정된 문자열 및 로그 항목 유형을 사용하여 로그에 태스크 실행 진행률을 나타냅니다.

Log(ITask, String, Exception, TaskExecutionLogEntryType)

지정된 문자열, 오류 메시지 및 로그 항목 유형을 사용하여 로그에 태스크 실행 진행률을 나타냅니다.

Log(ITask, Exception)

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

public:
 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
Public Sub Log (task As ITask, error As Exception)

매개 변수

task
ITask

태스크를 나타내는 인터페이스입니다.

error
Exception

이 메시지에 연결된 예외입니다.

적용 대상

Log(ITask, String)

지정된 문자열 매개 변수를 사용하여 로그에 태스크 실행 진행률을 나타냅니다.

public:
 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
Public Sub Log (task As ITask, message As String)

매개 변수

task
ITask

태스크를 나타내는 인터페이스입니다.

message
String

텍스트 메시지를 나타내는 문자열 값입니다.

적용 대상

Log(ITask, String, TaskExecutionLogEntryType)

지정된 문자열 및 로그 항목 유형을 사용하여 로그에 태스크 실행 진행률을 나타냅니다.

public:
 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
Public Sub Log (task As ITask, message As String, logEntryType As TaskExecutionLogEntryType)

매개 변수

task
ITask

태스크를 나타내는 인터페이스입니다.

message
String

텍스트 메시지를 나타내는 문자열 값입니다.

logEntryType
TaskExecutionLogEntryType

사용할 logEntry 유형입니다.

적용 대상

Log(ITask, String, Exception, TaskExecutionLogEntryType)

지정된 문자열, 오류 메시지 및 로그 항목 유형을 사용하여 로그에 태스크 실행 진행률을 나타냅니다.

public:
 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
Public Sub Log (task As ITask, message As String, error As Exception, logEntryType As TaskExecutionLogEntryType)

매개 변수

task
ITask

태스크를 나타내는 인터페이스입니다.

message
String

텍스트 메시지를 나타내는 문자열 값입니다.

error
Exception

이 메시지에 연결된 예외입니다.

logEntryType
TaskExecutionLogEntryType

사용할 logEntry 유형입니다.

적용 대상