IRecoverableErrorData::Initialize

Initializes the object by using the specified display name of the item that caused the error and a description of the error.


HRESULT Initialize(
  LPCWSTR pcszItemDisplayName, 
  LPCWSTR pcszErrorDescription);

pcszItemDisplayName

[in, unique] The display name of the item that caused the error.

pcszErrorDescription

[in, unique] The description of the error.

  • S_OK

  • E_OUTOFMEMORY

  • Provider-determined error codes

Show: