VCWizCtlClass.SetErrorInfo - метод
Sets error text for the specified item.
Пространство имен: Microsoft.VisualStudio.VsWizard
Сборка: Microsoft.VisualStudio.VsWizard (в Microsoft.VisualStudio.VsWizard.dll)
Синтаксис
'Декларация
Public Overridable Sub SetErrorInfo ( _
bstrDescription As String, _
ulHRESULT As UInteger, _
dwReserved As UInteger, _
bstrHelpKeyword As String, _
bstrSource As String _
)
'Применение
Dim instance As VCWizCtlClass
Dim bstrDescription As String
Dim ulHRESULT As UInteger
Dim dwReserved As UInteger
Dim bstrHelpKeyword As String
Dim bstrSource As String
instance.SetErrorInfo(bstrDescription, _
ulHRESULT, dwReserved, bstrHelpKeyword, _
bstrSource)
public virtual void SetErrorInfo(
string bstrDescription,
uint ulHRESULT,
uint dwReserved,
string bstrHelpKeyword,
string bstrSource
)
public:
virtual void SetErrorInfo(
[InAttribute] String^ bstrDescription,
[InAttribute] unsigned int ulHRESULT,
[InAttribute] unsigned int dwReserved,
[InAttribute] String^ bstrHelpKeyword,
[InAttribute] String^ bstrSource
)
public function SetErrorInfo(
bstrDescription : String,
ulHRESULT : uint,
dwReserved : uint,
bstrHelpKeyword : String,
bstrSource : String
)
Параметры
bstrDescription
Тип: System.StringA string containing a description of the error.
ulHRESULT
Тип: System.UInt32The status code returned by the wizard.
dwReserved
Тип: System.UInt32Reserved.
bstrHelpKeyword
Тип: System.StringThe keyword to attach to a help button on the message box
bstrSource
Тип: System.StringA string containing the name of the error source.
Реализации
IVCWizCtlUI.SetErrorInfo(String, UInt32, UInt32, String, String)
Разрешения
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.