BG_ERROR_CONTEXT enumeration (bits.h)
Defines constants that specify the context in which the error occurred.
Syntax
typedef enum BG_ERROR_CONTEXT {
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_SERVER_CERTIFICATE_CALLBACK
} ;
Constants
BG_ERROR_CONTEXT_NONE Value: 0 An error has not occurred. |
BG_ERROR_CONTEXT_UNKNOWN Value: 1 The error context is unknown. |
BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER Value: 2 The transfer queue manager generated the error. |
BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION Value: 3 The error was generated while the queue manager was notifying the client of an event. |
BG_ERROR_CONTEXT_LOCAL_FILE Value: 4 The error was related to the specified local file. For example, permission was denied, or the volume was unavailable. |
BG_ERROR_CONTEXT_REMOTE_FILE Value: 5 The error was related to the specified remote file. For example, the URL was not accessible. |
BG_ERROR_CONTEXT_GENERAL_TRANSPORT Value: 6 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 Value: 7 The server application to which BITS passed the upload file generated an error while processing the upload file. BITS 1.2 and earlier: Not supported. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP |
Minimum supported server | Windows Server 2003 |
Header | bits.h |