Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: Int32The error index.
pdwErrorType
Type: UInt32%The error type.
pbstrError
Type: String%The error.
Return Value
Type: Int32
The HRESULT.
.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.