共用方式為


BusinessLogicResolver.InvokeErrorHandler Method

命名空間: Microsoft.SqlServer.Replication.BusinessLogicSupport
組件: Microsoft.SqlServer.Replication.BusinessLogicSupport (in 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
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
public 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
)
JScript 不支援以傳址方式傳遞值類型的引數。

參數

  • currentChangeState
  • methodName
  • sourceIdentifier
  • sourceDataSet
  • logErrorType
  • errorLogMessage
  • errorCode
  • errorMessage
  • logLevel
  • logMessage

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

BusinessLogicResolver Class
BusinessLogicResolver Members
Microsoft.SqlServer.Replication.BusinessLogicSupport Namespace