共用方式為


IComponentErrorInfo Interface

Definition

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

public interface class IComponentErrorInfo
public interface IComponentErrorInfo
type IComponentErrorInfo = interface
Public Interface IComponentErrorInfo

Properties

Component

Returns the IComponent interface of the object that raised the event.

Description

Returns the text of the message.

ErrorCode

Returns an Integer that identifies the error message.

HelpContext

Returns the identifier of the topic in the Help file.

HelpFile

Returns the path to the Help file that contains detailed information.

Level

Returns a TraceLevel enumeration value indicating what messages to output for the Debug, Trace and TraceSwitch classes.

SourceComponent

Returns the name of the component where the error originated.

SubComponent

Returns an arbitrary String that identifies the sub-module within a source: for example, the transform in a Pipeline task.

Methods

GetMessage()

Returns a String that contains the error message, component, and the subcomponent, for each error.

GetMessage(Boolean)

Returns a String that contains the error message.

Applies to