Compartilhar via


IVsSettingsErrorInformation.GetErrorInfo Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the error info.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetErrorInfo ( _
    nErrorIndex As Integer, _
    <OutAttribute> ByRef pdwErrorType As UInteger, _
    <OutAttribute> ByRef pbstrError As String _
) As Integer
int GetErrorInfo(
    int nErrorIndex,
    out uint pdwErrorType,
    out string pbstrError
)
int GetErrorInfo(
    [InAttribute] int nErrorIndex, 
    [OutAttribute] unsigned int% pdwErrorType, 
    [OutAttribute] String^% pbstrError
)
abstract GetErrorInfo : 
        nErrorIndex:int * 
        pdwErrorType:uint32 byref * 
        pbstrError:string byref -> int
function GetErrorInfo(
    nErrorIndex : int, 
    pdwErrorType : uint, 
    pbstrError : String
) : int

Parameters

  • nErrorIndex
    Type: Int32

    The error index.

  • pdwErrorType
    Type: UInt32%

    The error type.

  • pbstrError
    Type: String%

    The error.

Return Value

Type: Int32
The HRESULT.

.NET Framework Security

See Also

Reference

IVsSettingsErrorInformation Interface

Microsoft.VisualStudio.Shell.Interop Namespace