This document is archived and information here might be outdated. Recommended version. |
Writes error information.
[Visual Basic .NET] Public Sub SetError ( _ ByVal hresult As Integer, _ ByVal pErrorInfo As IErrorInfo _ )
[C#] public void SetError ( int hresult, IErrorInfo pErrorInfo );
[C++]
HRESULT SetError(
long hresult,
IErrorInfo* pErrorInfo
);
[C++] Parameters hresult [in]
hresult is a parameter of type long pErrorInfo [in]
pErrorInfo is a parameter of type IErrorInfo*