INotifyErrors
Description:
INotifyErrors is an interface for managing the errors of a notification. This interface extends the IErrors interface with the ability to add and remove error messages to/from the collection.
import "OxSvrSpt.idl"
Public Methods:
HRESULT Add ([in] BSTR SourceName, [in] long ISourceCode, [in] BSTR FaultString, [in] long FaultCode, [in] BSTR InfoList)
HRESULT Clear ()
HRESULT NewResultCode ([in] long newValue)
HRESULT NewResponseResult ([in] long newValue)
Documentation of Element Functions:
-
HRESULT Add ([in] BSTR SourceName, [in] long ISourceCode, [in] BSTR FaultString, [in] long FaultCode, [in] BSTR InfoList)
abn.Add adds a new error message to the collection.
Parameters:
[in]: SourceName name of the source where the error occurred
[in]: ISourceCode source line where the error occurred.
[in]: FaultString error description
[in]: FaultCode error code
[in]: InfoList InfoList
-
HRESULT Clear ()
Clear removes all error objects from the collection.
-
HRESULT NewResponseResult ([in] long newValue)
NewResponseResult sets the return value of the notification.
Parameters:
[out]: newVal return value of the notification
-
HRESULT NewResultCode ([in] long newValue)
NewResultCode sets the error value of the notification.
Parameters:
[out]: newVal server error value