<PackageReference Include="NETStandard.Library" Version="2.0.1" />

System.Runtime.InteropServices.ExternalException

namespace System.Runtime.InteropServices { public class ExternalException : SystemException { public virtual int ErrorCode { get; } public ExternalException(); protected ExternalException(SerializationInfo info, StreamingContext context); public ExternalException(string message); public ExternalException(string message, Exception inner); public ExternalException(string message, int errorCode); } }