Udostępnij za pośrednictwem


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);

Parameters

  • pcszItemDisplayName
    [in, unique] The display name of the item that caused the error.
  • pcszErrorDescription
    [in, unique] The description of the error.

Return Value

  • S_OK

  • E_OUTOFMEMORY

  • Provider-determined error codes

See Also

Reference

IRecoverableErrorData Interface