ErrorSupport.FireWarning Method (Int32)

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

命名空間: Microsoft.SqlServer.Dts.ManagedMsg
組件: Microsoft.SqlServer.DtsMsg (in microsoft.sqlserver.dtsmsg.dll)

語法

'宣告
Public Sub FireWarning ( _
    hResult As Integer _
)
public void FireWarning (
    int hResult
)
public:
void FireWarning (
    int hResult
)
public void FireWarning (
    int hResult
)
public function FireWarning (
    hResult : int
)

參數

  • hResult
    The HRESULT of the underlying COM error.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ErrorSupport Class
ErrorSupport Members
Microsoft.SqlServer.Dts.ManagedMsg Namespace