Partilhar via


IVCWizCtlUI.SetErrorInfo(String, UInt32, UInt32, String, String) Method

Definition

Sets error text for the specified item.

void SetErrorInfo(std::wstring const & bstrDescription, unsigned int ulHRESULT = 0, unsigned int dwReserved = 0, std::wstring const & bstrHelpKeyword = "0", std::wstring const & bstrSource = "0");
[System.Runtime.InteropServices.DispId(1610743839)]
public void SetErrorInfo (string bstrDescription, uint ulHRESULT = 0, uint dwReserved = 0, string bstrHelpKeyword = "0", string bstrSource = "0");
[<System.Runtime.InteropServices.DispId(1610743839)>]
abstract member SetErrorInfo : string * uint32 * uint32 * string * string -> unit
Public Sub SetErrorInfo (bstrDescription As String, Optional ulHRESULT As UInteger = 0, Optional dwReserved As UInteger = 0, Optional bstrHelpKeyword As String = "0", Optional bstrSource As String = "0")

Parameters

bstrDescription
String

A string containing a description of the error.

ulHRESULT
UInt32

The status code returned by the wizard.

dwReserved
UInt32

Reserved.

bstrHelpKeyword
String

The keyword to attach to a help button on the message box

bstrSource
String

A string containing the name of the error source.

Attributes

Applies to