Generate a specific HResult value of Exception that must be caught in COM

182 Views Asked by At

I need to thrown an exception from C#.Net application and catch it in COM to process an error massage for my app.

I would like to know is there any accessible range of values of HRESULT that can be used for specific exception? Or it's OK to pass any value I want?

Thanks in advance

0

There are 0 best solutions below