IErrorLog.AddError Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub AddError ( _
pszPropName As String, _
pExcepInfo As EXCEPINFO() _
)
'使用
Dim instance As IErrorLog
Dim pszPropName As String
Dim pExcepInfo As EXCEPINFO()
instance.AddError(pszPropName, pExcepInfo)
void AddError(
string pszPropName,
EXCEPINFO[] pExcepInfo
)
void AddError(
[InAttribute] String^ pszPropName,
[InAttribute] array<EXCEPINFO>^ pExcepInfo
)
function AddError(
pszPropName : String,
pExcepInfo : EXCEPINFO[]
)
Parameters
- pszPropName
Type: System.String
- pExcepInfo
Type: []
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.