"ClassName": "System.Runtime.InteropServices.MarshalDirectiveException",
"Message": "Cannot marshal 'parameter #1': Invalid managed/unmanaged type combination (Marshaling to and from COM interface pointers isn't supported).",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at System.Drawing.SafeNativeMethods.Gdip.GdipLoadImageFromStream(IStream stream, IntPtr& image)\n at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)\n at Erp.api.Controllers.SalOrderController.WaterMarkImage(IFormFile file) in D:\\Erp\\New.api\\Controllers\\SalOrderController.cs:line 319",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233035,
"Source": "System.Drawing.Common",
"WatsonBuckets": null