引发新的NotImplementedException()错误 [英] throw new NotImplementedException() error

查看:954
本文介绍了引发新的NotImplementedException()错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
在数据适配器中保存或删除某些内容时出现此错误

hi every one
ihave this error when save or delete something to or from data adapter

throw new NotImplementedException()


这是功能


and this the function

internal void Insert(int p, int p_2, string p_3, System.DateTime dateTime, int p_5)
        {
            throw new System.NotImplementedException();
        }

        internal void Delete(int p, int p_2, string p_3, System.DateTime dateTime, int p_5)
        {
            throw new System.NotImplementedException();
        }
    }


我想知道这个函数是什么,关于代码不是我的,它就像考试中的一个问题一样,告诉我们要替换它,但是当我用添加和删除函数替换时出现错误,我只是想知道这是对还是错,如果输入的错误是正确的


i want to know what is this function , and about the code is not mine it come like a question in the exam and tell us to replace it but when i replace with add and delete function comes error , just i want if this right or wrong ,if wrong waht is right

推荐答案

我不明白.为什么在每个方法上都抛出异常却什么也没做?有什么用??

-爱德华
I don''t get it. Why are you throwing exceptions on each of your methods and not doing anything?! what''s the use???

-Eduard


这篇关于引发新的NotImplementedException()错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆