次の方法で共有


InvokeErrorHandler メソッド

この API は、 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。

このメンバーは IBusinessLogicResolver. . :: . .InvokeErrorHandler(ChangeStates, String, SourceIdentifier, DataSet, ErrorLogType%, String%, Int32, String, Int32%, String%) をオーバーライドします。

名前空間:  Microsoft.SqlServer.Replication.BusinessLogicSupport
アセンブリ:  Microsoft.SqlServer.Replication.BusinessLogicSupport (Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)

構文

'宣言
Public Overrides Function InvokeErrorHandler ( _
    currentChangeState As ChangeStates, _
    methodName As String, _
    sourceIdentifier As SourceIdentifier, _
    sourceDataSet As DataSet, _
    ByRef logErrorType As ErrorLogType, _
    ByRef errorLogMessage As String, _
    errorCode As Integer, _
    errorMessage As String, _
    ByRef logLevel As Integer, _
    ByRef logMessage As String _
) As ActionOnDataError
'使用
Dim instance As BusinessLogicResolver
Dim currentChangeState As ChangeStates
Dim methodName As String
Dim sourceIdentifier As SourceIdentifier
Dim sourceDataSet As DataSet
Dim logErrorType As ErrorLogType
Dim errorLogMessage As String
Dim errorCode As Integer
Dim errorMessage As String
Dim logLevel As Integer
Dim logMessage As String
Dim returnValue As ActionOnDataError

returnValue = instance.InvokeErrorHandler(currentChangeState, _
    methodName, sourceIdentifier, sourceDataSet, _
    logErrorType, errorLogMessage, errorCode, _
    errorMessage, logLevel, logMessage)
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
)
public:
virtual ActionOnDataError InvokeErrorHandler(
    ChangeStates currentChangeState, 
    String^ methodName, 
    SourceIdentifier sourceIdentifier, 
    DataSet^ sourceDataSet, 
    ErrorLogType% logErrorType, 
    String^% errorLogMessage, 
    int errorCode, 
    String^ errorMessage, 
    int% logLevel, 
    String^% logMessage
) override
abstract InvokeErrorHandler : 
        currentChangeState:ChangeStates * 
        methodName:string * 
        sourceIdentifier:SourceIdentifier * 
        sourceDataSet:DataSet * 
        logErrorType:ErrorLogType byref * 
        errorLogMessage:string byref * 
        errorCode:int * 
        errorMessage:string * 
        logLevel:int byref * 
        logMessage:string byref -> ActionOnDataError 
override InvokeErrorHandler : 
        currentChangeState:ChangeStates * 
        methodName:string * 
        sourceIdentifier:SourceIdentifier * 
        sourceDataSet:DataSet * 
        logErrorType:ErrorLogType byref * 
        errorLogMessage:string byref * 
        errorCode:int * 
        errorMessage:string * 
        logLevel:int byref * 
        logMessage:string byref -> ActionOnDataError 
public override function InvokeErrorHandler(
    currentChangeState : ChangeStates, 
    methodName : String, 
    sourceIdentifier : SourceIdentifier, 
    sourceDataSet : DataSet, 
    logErrorType : ErrorLogType, 
    errorLogMessage : String, 
    errorCode : int, 
    errorMessage : String, 
    logLevel : int, 
    logMessage : String
) : ActionOnDataError