ErrorSupport Class
Collapse the table of content
Expand the table of content

ErrorSupport Class

 

Supports the raising of errors, warnings, and other events that include descriptive text for known COM HRESULTs that are returned by Integration Services components written in native code.

Namespace:   Microsoft.SqlServer.Dts.ManagedMsg
Assembly:  Microsoft.SqlServer.DtsMsg (in Microsoft.SqlServer.DtsMsg.dll)

System.Object
  Microsoft.SqlServer.Dts.ManagedMsg.ErrorSupport
    Microsoft.SqlServer.Dts.ManagedMsg.DataflowErrorSupport

[ComVisibleAttribute(false)]
public class ErrorSupport

NameDescription
System_CAPS_pubmethodErrorSupport(IDTSComponentEvents100)

Initializes a new instance of the ErrorSupport class.

System_CAPS_pubmethodErrorSupport(IDTSComponentEvents100, String, String, Int32)

Initializes a new instance of the ErrorSupport class.

System_CAPS_protmethodErrorSupport(IDTSComponentMetaData100)

Initializes a new instance of the ErrorSupport class.

System_CAPS_protmethodErrorSupport(IDTSComponentMetaData100, String, String, Int32)

Initializes a new instance of the ErrorSupport class.

System_CAPS_pubmethodErrorSupport(IDTSInfoEvents100)

Initializes a new instance of the ErrorSupport class.

System_CAPS_pubmethodErrorSupport(IDTSInfoEvents100, String, String, Int32)

Initializes a new instance of the ErrorSupport class.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFireError(Int32, Boolean)

Raises an error identified by the specified HRESULT and allows execution to be cancelled.

System_CAPS_pubmethodFireError(Int32, String, String, Int32, Boolean)

Raises an error identified by the specified HRESULT, associates it with the specified component, help file, and help context, and allows execution to be cancelled.

System_CAPS_pubmethodFireErrorWithArgs(Int32, Boolean, Object[])

Raises an error identified by the specified HRESULT, allows execution to be cancelled, and includes an optional array of user-defined objects or information.

System_CAPS_pubmethodFireErrorWithArgs(Int32, String, String, Int32, Boolean, Object[])

Raises an error identified by the specified HRESULT, associates it with the specified component, help file, and help context, allows execution to be cancelled, and includes an optional array of user-defined objects or information.

System_CAPS_pubmethodFireInformation(Int32, Boolean)

Raises an informational message about the specified HRESULT and allows execution to be cancelled.

System_CAPS_pubmethodFireInformation(Int32, String, String, Int32, Boolean)

Raises an informational message about the specified HRESULT, associates it with the specified component, help file, and help context, and allows execution to be cancelled.

System_CAPS_pubmethodFireInformationWithArgs(Int32, Boolean, Object[])

Raises an informational message about the specified HRESULT, allows execution to be cancelled, and includes an optional array of user-defined objects or information.

System_CAPS_pubmethodFireInformationWithArgs(Int32, String, String, Int32, Boolean, Object[])

Raises an informational message about the specified HRESULT, associates it with the specified component, help file, and help context, allows execution to be cancelled, and includes an optional array of user-defined objects or information.

System_CAPS_pubmethodFireWarning(Int32)

Raises a warning identified by the specified HRESULT and allows execution to be cancelled.

System_CAPS_pubmethodFireWarning(Int32, String, String, Int32)

Raises a warning identified by the specified HRESULT and associates it with the specified component, help file, and help context.

System_CAPS_pubmethodFireWarningWithArgs(Int32, Object[])

Raises a warning identified by the specified HRESULT and includes an optional array of user-defined objects or information.

System_CAPS_pubmethodFireWarningWithArgs(Int32, String, String, Int32, Object[])

Raises a warning identified by the specified HRESULT, associates it with the specified component, help file, and help context, and includes an optional array of user-defined objects or information.

System_CAPS_pubmethodGetFormattedMessage(Int32, String, Object[])

Gets the error message for an HRESULT and formats the message by populating parameters with the supplied values.

System_CAPS_pubmethodSystem_CAPS_staticGetFormattedMessageEx(Int32, String, Object[])

Gets the error message for an HRESULT and formats the message by populating parameters with the supplied values.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodSetErrorInterface(IDTSComponentEvents100)

Specifies the IDTSComponentEvents100 instance that the ErrorSupport class will use to raise messages.

System_CAPS_protmethodSetErrorInterface(IDTSComponentMetaData100)

Specifies the T:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSComponentMetadata100 instance that the ErrorSupport class will use to raise messages.

System_CAPS_protmethodSetErrorInterface(IDTSInfoEvents100)

Specifies the IDTSInfoEvents100 instance that the ErrorSupport class will use to raise messages.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Although the data flow component developer can raise errors, warnings, and other events by calling the Fire<X> methods of the IDTSComponentMetaData100 interface, the Fire<X> methods of the ErrorSupport class provide additional value by retrieving descriptive messages that correspond to known COM HRESULTs returned by Integration Services components written in native code. Use the ErrorSupport property of the PipelineComponent base class to obtain an ErrorSupport object for this purpose.

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

Return to top
Show:
© 2016 Microsoft