Skip to main content

SalOleErrorInfo

Namespace: PPJ.Runtime.Com

Assembly: PPJ.Runtime.50 (5.0.0.0)

Stores OLE error codes, descriptive text, and help information in SAL-compatible fields.

public class SalOleErrorInfo : SalFunctionalClass

This mutable record does not retrieve an error automatically. Numeric fields start at zero and text fields start as empty strings.

Example:

var error = new PPJ.Runtime.Com.SalOleErrorInfo();
error.source = "Customer Import";
error.description = "The OLE operation failed.";
string description = error.description;

Constructors

Instance member SalOleErrorInfo()

Initializes a new instance of SalOleErrorInfo.

Fields

NameTypeDescriptionValue
descriptionSalStringThe human-readable error description.
helpContextSalNumberThe help topic context identifier within the help file.
helpFileSalStringThe help file associated with the error.
scodeSalNumberThe OLE status code associated with the error.
sourceSalStringThe name of the component or application reporting the error.
wcodeSalNumberThe application-defined OLE error code.