(0) exportieren Drucken
Alle erweitern
EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

IBackgroundCopyError::GetError method

Retrieves the error code and identify the context in which the error occurred.

Syntax


HRESULT GetError(
  [out]  BG_ERROR_CONTEXT *pContext,
  [out]  HRESULT *pErrorCode
);

Parameters

pContext [out]

Context in which the error occurred. For a list of context values, see the BG_ERROR_CONTEXT enumeration.

pErrorCode [out]

Error code of the error that occurred.

Return value

This method returns S_OK on success or one of the standard COM HRESULT values on error.

Examples

See the example code in the Handling Errors topic.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Bits.h

IDL

Bits.idl

Library

Bits.lib

DLL

QmgrPrxy.dll

IID

IID_IBackgroundCopyError is defined as 19C613A0-FCB8-4F28-81AE-897C3D078F81

See also

IBackgroundCopyError::GetErrorContextDescription
IBackgroundCopyError::GetErrorDescription
IBackgroundCopyError::GetFile

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft