Export (0) Print
Expand All

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

The error context is unknown.

BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER

The transfer queue manager generated the error.

BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION

The error was generated while the queue manager was notifying the client of an event.

BG_ERROR_CONTEXT_LOCAL_FILE

The error was related to the specified local file. For example, permission was denied or the volume was unavailable.

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

The transport layer generated the error. These errors are general transport failures (these errors are not specific to the remote file).

BG_ERROR_CONTEXT_REMOTE_APPLICATION

The server application that BITS passed the upload file to generated an error while processing the upload file.

BITS 1.2 and earlier:  Not supported.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Bits.h

See also

IBackgroundCopyError::GetError
IBackgroundCopyError::GetErrorContextDescription

 

 

Community Additions

ADD
Show:
© 2014 Microsoft