BG_ERROR_CONTEXT enumeration

The BG_ERROR_CONTEXT enumeration defines the constant values that specify the context in which the error occurred.

Syntax

typedef enum  { 
  BG_ERROR_CONTEXT_NONE                        = 0,
  BG_ERROR_CONTEXT_UNKNOWN                     = 1,
  BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER       = 2,
  BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION  = 3,
  BG_ERROR_CONTEXT_LOCAL_FILE                  = 4,
  BG_ERROR_CONTEXT_REMOTE_FILE                 = 5,
  BG_ERROR_CONTEXT_GENERAL_TRANSPORT           = 6,
  BG_ERROR_CONTEXT_REMOTE_APPLICATION          = 7
} BG_ERROR_CONTEXT;

Constants

BG_ERROR_CONTEXT_NONE

An error has not occurred.

BG_ERROR_CONTEXT_UNKNOWN

Not supported.

BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER

Not supported.

BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION

Not supported.

BG_ERROR_CONTEXT_LOCAL_FILE

Not supported.

BG_ERROR_CONTEXT_REMOTE_FILE

The error was related to the specified remote file. For example, the URL was not accessible.

BG_ERROR_CONTEXT_GENERAL_TRANSPORT

Not supported.

BG_ERROR_CONTEXT_REMOTE_APPLICATION

Not supported.

Requirements

Requirement Value
Minimum supported client
Windows 10, version 1709 [desktop apps only]
Minimum supported server
Windows Server, version 1709 [desktop apps only]
Header
Deliveryoptimization.h

See also

IBackgroundCopyError::GetError