ErrorSupport.FireInformationWithArgs 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
引发信息性消息,并显示一个提供用户定义对象或信息的数组的选项。
重载
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
如果组件下次发生同一事件时应引发相同的信息性消息,则为 true;否则为 false。
- 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
如果组件下次发生同一事件时应引发相同的信息性消息,则为 true;否则为 false。
- paramList
- Object[]
用户定义对象或信息的可选数组。