2.2.2.1 Encoding an Extended Error

The encoding of the extended error is the output of marshaling the first element of the error sequence by using type serialization version 1, as specified in [MS-RPCE] section 2.2.6. Because the error records are linked by the Next field of the ExtendedErrorInfo structure, marshaling the first element marshals the entire error sequence.