Udostępnij za pośrednictwem


ErrorSupport.FireWarning Method (Int32)

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

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

Syntax

'Declaration
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
)

Parameters

  • hResult
    The HRESULT of the underlying COM error.

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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