Compartir a través de


ErrorSupport.FireWarningWithArgs Método (Int32, String, String, Int32, array<Object )

Raises a warning identified by the specified HRESULT, associates it with the specified component, help file, and help context, and includes an optional array of user-defined objects or information.

Espacio de nombres:  Microsoft.SqlServer.Dts.ManagedMsg
Ensamblado:  Microsoft.SqlServer.DtsMsg (en Microsoft.SqlServer.DtsMsg.dll)

Sintaxis

'Declaración
Public Sub FireWarningWithArgs ( _
    hResult As Integer, _
    strSubComponent As String, _
    strHelpFile As String, _
    HelpContext As Integer, _
    ParamArray paramList As Object() _
)
'Uso
Dim instance As ErrorSupport 
Dim hResult As Integer 
Dim strSubComponent As String 
Dim strHelpFile As String 
Dim HelpContext As Integer 
Dim paramList As Object()

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

Parámetros

  • hResult
    Tipo: System.Int32
    The HRESULT of the underlying COM error.
  • strSubComponent
    Tipo: System.String
    The friendly name of the component.
  • strHelpFile
    Tipo: System.String
    The help file that provides additional information about the messages that are raised.
  • HelpContext
    Tipo: System.Int32
    The location in the help file that provides additional information about the messages that are raised.
  • paramList
    Tipo: array<System.Object[]
    An optional array of user-defined objects or information.

Vea también

Referencia

ErrorSupport Clase

Sobrecarga de FireWarningWithArgs

Espacio de nombres Microsoft.SqlServer.Dts.ManagedMsg