The ErrorRecord type exposes the following members.

ToggleFields

Type NameDescription
Public fieldStatic memberDIAGNOSTIC_EXCEPTION_CODE
When the exception is an EngineRuntimeException instance, this field identifies the exception code. This field is used by GetDiagnosticTypes and ToString.
Public fieldStatic memberDIAGNOSTIC_FAILED_BATCH_ITEM
When an UpdatingBatch fails, this diagnostic item contains a zero-based integer value indicating which item in the UpdatingBatch failed. This is used internally by the API to link the exception to appropriate BatchItemHandle. This field is used by GetDiagnosticTypes.
Public fieldStatic memberDIAGNOSTIC_STACK_TRACE
Identifies the stack trace information for the exception. This field is used by GetDiagnosticTypes and ToString.

ToggleSee Also