Share via


ErrorSupport.FireWarningWithArgs Method (Int32, array<Object[])

Raises a warning identified by the specified HRESULT and includes an optional array of user-defined objects or information.

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

Syntax

'Declaration
Public Sub FireWarningWithArgs ( _
    hResult As Integer, _
    ParamArray paramList As Object() _
)
'Usage
Dim instance As ErrorSupport
Dim hResult As Integer
Dim paramList As Object()

instance.FireWarningWithArgs(hResult, _
    paramList)
public void FireWarningWithArgs(
    int hResult,
    params Object[] paramList
)
public:
void FireWarningWithArgs(
    int hResult, 
    ... array<Object^>^ paramList
)
member FireWarningWithArgs : 
        hResult:int * 
        paramList:Object[] -> unit 
public function FireWarningWithArgs(
    hResult : int, 
    ... paramList : Object[]
)

Parameters

  • hResult
    Type: System.Int32
    The HRESULT of the underlying COM error.
  • paramList
    Type: array<System.Object[]
    An optional array of user-defined objects or information.