Condividi tramite


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.

Spazio dei nomi: Microsoft.SqlServer.Dts.ManagedMsg
Assembly : Microsoft.SqlServer.DtsMsg (in microsoft.sqlserver.dtsmsg.dll)

Sintassi

'Dichiarazione
<ComVisibleAttribute(False)> _
Public Class ErrorSupport
[ComVisibleAttribute(false)] 
public class ErrorSupport
[ComVisibleAttribute(false)] 
public ref class ErrorSupport
/** @attribute ComVisibleAttribute(false) */ 
public class ErrorSupport
ComVisibleAttribute(false) 
public class ErrorSupport

Osservazioni

Although the data flow component developer can raise errors, warnings, and other events by calling the Fire<X> methods of the IDTSComponentMetaData90 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.

Inheritance Hierarchy

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

Thread Safety

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ErrorSupport Members
Microsoft.SqlServer.Dts.ManagedMsg Namespace