コード例 #1
0
        public static void Ctor_Empty()
        {
            var exception = new DirectoryNotFoundException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: HResults.COR_E_DIRECTORYNOTFOUND, validateMessage: false);
        }
コード例 #2
0
        public static void Ctor_Empty()
        {
            var exception = new PathTooLongException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: HResults.COR_E_PATHTOOLONG, validateMessage: false);
        }