IVCWizCtlUI.SetErrorInfo Method
Sets error text for the specified item.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'Declaration
Sub SetErrorInfo ( _
bstrDescription As String, _
ulHRESULT As UInteger, _
dwReserved As UInteger, _
bstrHelpKeyword As String, _
bstrSource As String _
)
void SetErrorInfo(
string bstrDescription,
uint ulHRESULT,
uint dwReserved,
string bstrHelpKeyword,
string bstrSource
)
void SetErrorInfo(
[InAttribute] String^ bstrDescription,
[InAttribute] unsigned int ulHRESULT,
[InAttribute] unsigned int dwReserved,
[InAttribute] String^ bstrHelpKeyword,
[InAttribute] String^ bstrSource
)
abstract SetErrorInfo :
bstrDescription:string *
ulHRESULT:uint32 *
dwReserved:uint32 *
bstrHelpKeyword:string *
bstrSource:string -> unit
function SetErrorInfo(
bstrDescription : String,
ulHRESULT : uint,
dwReserved : uint,
bstrHelpKeyword : String,
bstrSource : String
)
Parameters
bstrDescription
Type: StringA string containing a description of the error.
ulHRESULT
Type: UInt32The status code returned by the wizard.
dwReserved
Type: UInt32Reserved.
bstrHelpKeyword
Type: StringThe keyword to attach to a help button on the message box
bstrSource
Type: StringA string containing the name of the error source.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.