code The error code. Declarationreadonly attribute int code; DiscussionAll errors are domain-specific. See AlsoGetting Error PropertiesdescriptiondomainuserInfo