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 _
)
'Usage
Dim instance As ErrorSupport
Dim hResult As Integer

instance.FireWarning(hResult)
public void FireWarning(
    int hResult
)
public:
void FireWarning(
    int hResult
)
member FireWarning : 
        hResult:int -> unit 
public function FireWarning(
    hResult : int
)

Parameters

  • hResult
    Type: System.Int32
    The HRESULT of the underlying COM error.