Partilhar via


ErrorSupport.FireWarningWithArgs Method (Int32, 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() _
)
public void FireWarningWithArgs (
    int hResult,
    params Object[] paramList
)
public:
void FireWarningWithArgs (
    int hResult, 
    ... array<Object^>^ paramList
)
public void FireWarningWithArgs (
    int hResult, 
    Object[] paramList
)
public function FireWarningWithArgs (
    hResult : int, 
    ... paramList : Object[]
)

Parameters

  • hResult
    The HRESULT of the underlying COM error.
  • paramList
    An optional array of user-defined objects or information.

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