IOCSPCAConfiguration::get_ErrorCode method (certadm.h)

The ErrorCode property gets a code that identifies an error condition in a CA configuration. The default implementations of IOCSPAdmin and IOCSPCAConfigurationCollection set the initial error-condition value.

This property is read-only.

Syntax

HRESULT get_ErrorCode(
  ULONG *pVal
);

Parameters

pVal

Return value

None

Remarks

The OCSP responder service returns an error code when it encounters a problem with a configuration. For the definition of a returned code, see Winerror.h in the Microsoft Windows Software Development Kit (SDK).

An OCSPCAConfiguration object internally stores the error code as an HRESULT with an initial value of E_PENDING. When IOCSPAdmin::SetConfiguration is called, the error code is reset to E_PENDING.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]
Target Platform Windows
Header certadm.h (include Certserv.h)
Library Certadm.lib
DLL Certadm.dll

See also

IOCSPCAConfiguration