共用方式為


IErrorCollectionService Interface

Definition

Captures events from data flow components when you need to capture all the errors and warnings raised by the component instead of receiving only the last error or warning.

public interface class IErrorCollectionService
public interface IErrorCollectionService
type IErrorCollectionService = interface
Public Interface IErrorCollectionService

Methods

ClearErrors()

Clears the error cache.

GetErrorMessage()

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

GetErrorMessage(Boolean)

Returns a String that contains the error message.

GetErrors()

Retrieves the list of errors and stores them in an ICollection.

HasErrors(TraceLevel)

Indicates whether the collection service has errors.

Applies to