Udostępnij przez


IBusinessLogicResolver.InvokeErrorHandler Method

This method supports the SQL Server 2008 infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly: Microsoft.SqlServer.Replication.BusinessLogicSupport (in microsoft.sqlserver.replication.businesslogicsupport.dll)

Syntax

'Deklaracja
Public MustOverride 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 abstract 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
) abstract
public abstract 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 does not support passing value-type arguments by reference.

Parameters

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.