DataflowErrorSupport 类

Supports the raising of errors, warnings, and other messages that include descriptive text for known COM HRESULTS returned by Integration Services components written in native code. This class cannot be inherited.

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.ManagedMsg
程序集:  Microsoft.SqlServer.DtsMsg(在 Microsoft.SqlServer.DtsMsg.dll 中)

语法

声明
Public NotInheritable Class DataflowErrorSupport _
    Inherits ErrorSupport
用法
Dim instance As DataflowErrorSupport
public sealed class DataflowErrorSupport : ErrorSupport
public ref class DataflowErrorSupport sealed : public ErrorSupport
[<SealedAttribute>]
type DataflowErrorSupport =  
    class 
        inherit ErrorSupport 
    end
public final class DataflowErrorSupport extends ErrorSupport

DataflowErrorSupport 类型公开以下成员。

构造函数

  名称 说明
公共方法 DataflowErrorSupport(IDTSComponentMetaData100) Initializes a new instance of the DataflowErrorSupport class.
公共方法 DataflowErrorSupport(IDTSComponentMetaData100, String, String, Int32) Initializes a new instance of the DataflowErrorSupport class.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 FireError(Int32, Boolean%) Raises an error identified by the specified HRESULT and allows execution to be cancelled. (从 ErrorSupport 继承。)
公共方法 FireError(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. (从 ErrorSupport 继承。)
公共方法 FireErrorWithArgs(Int32, Boolean%, array<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. (从 ErrorSupport 继承。)
公共方法 FireErrorWithArgs(Int32, String, String, Int32, Boolean%, array<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. (从 ErrorSupport 继承。)
公共方法 FireInformation(Int32, Boolean%) Raises an informational message about the specified HRESULT and allows execution to be cancelled. (从 ErrorSupport 继承。)
公共方法 FireInformation(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. (从 ErrorSupport 继承。)
公共方法 FireInformationWithArgs(Int32, Boolean%, array<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. (从 ErrorSupport 继承。)
公共方法 FireInformationWithArgs(Int32, String, String, Int32, Boolean%, array<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. (从 ErrorSupport 继承。)
公共方法 FireWarning(Int32) Raises a warning identified by the specified HRESULT and allows execution to be cancelled. (从 ErrorSupport 继承。)
公共方法 FireWarning(Int32, String, String, Int32) Raises a warning identified by the specified HRESULT and associates it with the specified component, help file, and help context. (从 ErrorSupport 继承。)
公共方法 FireWarningWithArgs(Int32, array<Object[]) Raises a warning identified by the specified HRESULT and includes an optional array of user-defined objects or information. (从 ErrorSupport 继承。)
公共方法 FireWarningWithArgs(Int32, String, String, Int32, array<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. (从 ErrorSupport 继承。)
公共方法 GetFormattedMessage Gets the error message for an HRESULT and formats the message by populating parameters with the supplied values. (从 ErrorSupport 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.ManagedMsg 命名空间