BusinessLogicResolver.InvokeErrorHandler 메서드

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Invokes a handler when error occurs during execution.

네임스페이스:  Microsoft.SqlServer.Replication.BusinessLogicSupport
어셈블리:  Microsoft.SqlServer.Replication.BusinessLogicSupport(Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

public override ActionOnDataError InvokeErrorHandler(
	ChangeStates currentChangeState,
	string methodName,
	SourceIdentifier sourceIdentifier,
	DataSet sourceDataSet,
	ref ErrorLogType logErrorType,
	ref string errorLogMessage,
	int errorCode,
	string errorMessage,
	ref int logLevel,
	ref string logMessage
)

매개 변수

currentChangeState
유형: Microsoft.SqlServer.Replication.BusinessLogicSupport.ChangeStates
The current change state.
methodName
유형: System.String
The method name.
sourceIdentifier
유형: Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier
The source identifier.
sourceDataSet
유형: System.Data.DataSet
The source data set.
logErrorType
유형: Microsoft.SqlServer.Replication.BusinessLogicSupport.ErrorLogType%
Controls how replication logs the error.
errorLogMessage
유형: System.String%
The error log message.
errorCode
유형: System.Int32
The error code.
errorMessage
유형: System.String
The error message.
logLevel
유형: System.Int32%
The log level of the message returned by the business logic handler.
logMessage
유형: System.String%
The log message provided by the business logic handler.

반환 값

유형: Microsoft.SqlServer.Replication.BusinessLogicSupport.ActionOnDataError
The ActionOnDataError action that will be taken by the process after the business logic handler has executed.

커뮤니티 추가 항목

추가
표시: