IComponentErrorInfo Interface

Provides detailed information about an error or warning event generated by SSIS control flow or data flow components during design.

Namespace:  Microsoft.SqlServer.Dts.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

public interface IComponentErrorInfo

The IComponentErrorInfo type exposes the following members.

Public propertyComponentReturns the IComponent interface of the object that raised the event.
Public propertyDescriptionReturns the text of the message.
Public propertyErrorCodeReturns an Integer that identifies the error message.
Public propertyHelpContextReturns the identifier of the topic in the Help file.
Public propertyHelpFileReturns the path to the Help file that contains detailed information.
Public propertyLevelReturns a TraceLevel enumeration value indicating what messages to output for the Debug, Trace and TraceSwitch classes.
Public propertySourceComponentReturns the name of the component where the error originated.
Public propertySubComponentReturns an arbitrary String that identifies the sub-module within a source: for example, the transform in a Pipeline task.

Public methodGetMessage()Returns a String that contains the error message, component, and the subcomponent, for each error.
Public methodGetMessage(Boolean)Returns a String that contains the error message.

Community Additions