Пример #1
0
            protected static void NotImplemented()
            {
                ExternalException e = new ExternalException("Not implemented.", SafeNativeMethods.E_NOTIMPL);

                throw e;
            }
Пример #2
0
            protected static ExternalException EFail(string msg)
            {
                ExternalException e = new ExternalException(msg, SafeNativeMethods.E_FAIL);

                throw e;
            }