Partager via


Classe ErrorSupport

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.

Espace de noms :  Microsoft.SqlServer.Dts.ManagedMsg
Assembly :  Microsoft.SqlServer.DtsMsg (dans Microsoft.SqlServer.DtsMsg.dll)

Syntaxe

'Déclaration
<ComVisibleAttribute(False)> _
Public Class ErrorSupport
'Utilisation
Dim instance As ErrorSupport
[ComVisibleAttribute(false)]
public class ErrorSupport
[ComVisibleAttribute(false)]
public ref class ErrorSupport
[<ComVisibleAttribute(false)>]
type ErrorSupport =  class end
public class ErrorSupport

Notes

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.

Hiérarchie d'héritage

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.