IVsSettingsReader.ReportError Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function ReportError ( _
pszError As String, _
dwErrorType As UInteger _
) As Integer
'使用
Dim instance As IVsSettingsReader
Dim pszError As String
Dim dwErrorType As UInteger
Dim returnValue As Integer
returnValue = instance.ReportError(pszError, _
dwErrorType)
int ReportError(
string pszError,
uint dwErrorType
)
int ReportError(
[InAttribute] String^ pszError,
unsigned int dwErrorType
)
function ReportError(
pszError : String,
dwErrorType : uint
) : int
Parameters
pszError
Type: System.String
dwErrorType
Type: System.UInt32
Return Value
Type: System.Int32
Permissions
- 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.