语言

ErrorSupport.FireInformationWithArgs 方法

定义

发送信息消息,并可选择提供用户自定义的对象或信息数组。

重载

名称 说明
FireInformationWithArgs(Int32, Boolean, Object[])

发送关于指定HRESULT的信息消息,允许取消执行,并包含可选的用户定义对象或信息数组。

FireInformationWithArgs(Int32, String, String, Int32, Boolean, Object[])

它会发布关于指定 HRESULT 的信息消息,将其关联到指定的组件、帮助文件和帮助上下文,允许取消执行,并包含可选的用户自定义对象或信息数组。

FireInformationWithArgs(Int32, Boolean, Object[])

发送关于指定HRESULT的信息消息,允许取消执行,并包含可选的用户定义对象或信息数组。

public:
 void FireInformationWithArgs(int hResult, bool % bFireAgain, ... cli::array <System::Object ^> ^ paramList);
public void FireInformationWithArgs(int hResult, ref bool bFireAgain, params object[] paramList);
member this.FireInformationWithArgs : int * bool * obj[] -> unit
Public Sub FireInformationWithArgs (hResult As Integer, ByRef bFireAgain As Boolean, ParamArray paramList As Object())

参数

hResult
Int32

底层COM函数的HRESULT。

bFireAgain
Boolean

如果组件在下一次相同事件发生时应发送相同的信息消息,则为真;否则,就是假的。

paramList
Object[]

一个可选的用户自定义对象或信息数组。

适用于

FireInformationWithArgs(Int32, String, String, Int32, Boolean, Object[])

它会发布关于指定 HRESULT 的信息消息,将其关联到指定的组件、帮助文件和帮助上下文,允许取消执行,并包含可选的用户自定义对象或信息数组。

public:
 void FireInformationWithArgs(int hResult, System::String ^ strSubComponent, System::String ^ strHelpFile, int HelpContext, bool % bFireAgain, ... cli::array <System::Object ^> ^ paramList);
public void FireInformationWithArgs(int hResult, string strSubComponent, string strHelpFile, int HelpContext, ref bool bFireAgain, params object[] paramList);
member this.FireInformationWithArgs : int * string * string * int * bool * obj[] -> unit
Public Sub FireInformationWithArgs (hResult As Integer, strSubComponent As String, strHelpFile As String, HelpContext As Integer, ByRef bFireAgain As Boolean, ParamArray paramList As Object())

参数

hResult
Int32

底层COM函数的HRESULT。

strSubComponent
String

组件的友好名称。

strHelpFile
String

帮助文件提供关于被提出信息的更多信息。

HelpContext
Int32

帮助文件中提供有关被提出消息的更多信息的位置。

bFireAgain
Boolean

如果组件在下一次相同事件发生时应发送相同的信息消息,则为真;否则,就是假的。

paramList
Object[]

一个可选的用户自定义对象或信息数组。

适用于