问题标签 [notimplementedexception]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - Microsoft.Web.Administration.Site 在调用方法 Stop() 时抛出 NotImplemenetedException
我正在尝试停止 IIS 中的网站。
这是我的代码
当它到达 oSite.Stop(); 它会抛出
“方法或操作未实现。”
我使用的是 Windows 7 Home Premium,我使用的 IIS 版本是 7.5。
知道如何解决这个错误吗?
c# - System.Core.dll 中的 NotimplementedException
我的代码中出现以下错误:
>System.Core.dll 中出现“System.NotImplementedException”类型的未处理异常
附加信息:方法或操作未实现。
当我尝试在我的 datagridview 上设置数据源时会发生这种情况。错误发生在文本框上的 TextChanged 事件上,我试图根据输入过滤 datagridview。
事件中的代码如下:
错误发生在线路上dgvDtl.DataSource = filteredClaims
我已经搜索过,找不到类似的东西。我将不胜感激。
b2bhdr 的定义如下:
以下是错误的调试信息:
scala - 如何设置 IntelliJ 以识别 Scala 的“???” 方法作为 TODO
我想???
在 IntelliJ TODO 列表中查看所有出现的 (或以任何其他方式能够查看我的 Scala 项目中所有未实现方法的列表)。似乎在 TODO 设置中添加模式\b\?\?\?\b.*不起作用。
refactoring - ReSharper 用 NotImplementedException 替换所有方法实现
我复制了一个庞大的类库,我想将所有类中的所有方法设置为:
ReSharper 是否有办法在整个解决方案中全局执行此操作?
c# - 从Linux c#获取在远程windows机器上运行的进程
一段时间以来,我一直在尝试并用谷歌搜索了很多,但找不到合适的支持。在 Mon 上运行基于 .Net 的项目并尝试获取在远程 Windows 机器上运行的进程 ID。并且不能继续...
在
scope.Options = 连接选项
我收到一个 System.NotImplemented 异常。想知道 MONO 是否真的支持这个?
java - 使用 Apache POI 评估公式 CELL 时出现异常
尝试评估工作簿中的所有单元格时出现以下异常。我正在为 Apache poi 使用 3.13 版。公式是 CELL("文件名")
有什么办法让它工作吗?或者有没有其他公式可以给我同样的结果?
usb - streamOut.FlushAsync() 未实现异常
我正在开发 USB 通信 UWP APP。我可以毫无问题地获得 SerialDevice 实例,但是当我调用 myDevice.OutputStream.FlushAsync() 时,我没有得到已实现的异常。
这是我的代码
我的清单:
谢谢您的回复
c# - 访问 ServiceAccountCredential C# 时出现 NotImplementedException
我有一个访问 Google 电子表格以创建电话簿的 Windows 应用程序。当我尝试打开电话簿时,我被标记为System.NotImplementedException: The method or operation is not implemented.
我不太确定为什么,因为它似乎正在实施?
这是第一个被标记为问题的地方:
这是第二个。据我所知,这部分没有问题,但它仍然在标记异常。
任何建议将不胜感激。我在 Visual Studio 2015 中使用 C#。
c# - Xamarin WCF BasicHttpBinding - 未实现方法或操作
快速背景信息:有一个 wcf 使用 BasicHttpBinding 进行身份验证。Dataservice.cs 包含基于服务元数据(使用 svcutil 生成)的 dataserviceclient。
我首先使用代码制作了一个控制台应用程序,它运行良好,然后我制作了一个 xamarin android 项目。我复制了代码。引用 system.runtime.serialization 和 system.servicemodel。这给了我一个 The method or operation is not implemented 错误。
主要代码:
我是 Xamarin 编程的新手,所以我可能会在这里遗漏关键点,但请记住,它作为控制台应用程序工作并且服务在线(不是本地主机)。
System.NotImplementedException:方法或操作未实现。
07-20 11:35:39.704 D/Mono(1452):DllImport 尝试加载:'/system/lib/liblog.so'。07-20 11:35:39.704 D/Mono (1452): DllImport 加载库 '/system/lib/liblog.so'。07-20 11:35:39.704 D/Mono (1452): DllImport 搜索:'/system/lib/liblog.so' ('/system/lib/liblog.so')。07-20 11:35:39.704 D/Mono(1452):搜索“__android_log_print”。07-20 11:35:39.704 D/Mono(1452):探测“__android_log_print”。07-20 11:35:39.704 D/Mono(1452):发现为“__android_log_print”。07-20 11:35:39.708 I/MonoDroid(1452):未处理的异常:07-20 11:35:39.708 I/MonoDroid(1452):System.NotImplementedException:方法或操作未实现。07-20 11:35:39.708 I/MonoDroid(1452):在 System.ServiceModel.BasicHttpBinding。
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/BasicHttpBinding_4_5.cs:125 07-20 11:35:39.708 I/MonoDroid(1452):在System.ServiceModel.BasicHttpBinding.CreateBindingElements () [0x00006] 在
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/BasicHttpBinding_4_5.cs:98 07-20 11:35:39.708 I/MonoDroid(1452):在System.ServiceModel.Channels.CustomBinding..ctor(System.ServiceModel.Channels.Binding 绑定)[0x00000] 在
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/CustomBinding.cs:60 07-20 11:35:39.708 I/MonoDroid(1452) : 在 System.ServiceModel.Channels.Binding.CreateContext (System.ServiceModel.Channels.BindingParameterCollection 参数) [0x00000] 中
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/Binding.cs:96 07-20 11:35:39.708 I/MonoDroid(1452) : 在 System.ServiceModel.Channels.Binding.CanBuildChannelFactory[TChannel] (System.ServiceModel.Channels.BindingParameterCollection 参数) [0x00011] 中
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/Binding.cs:267 07-20 11:35:39.708 I/MonoDroid(1452) : 在 System.ServiceModel.ChannelFactory.CreateFactory() [0x000ad] 中
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs:199 07-20 11:35:39.708 I/MonoDroid(1452):在System.ServiceModel.ChannelFactory.OnOpening () [0x00006] 在
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs:383 07-20 11:35:39.708 I/MonoDroid(1452):在System.ServiceModel.Channels.CommunicationObject.ProcessOpening () [0x00017] 在
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/CommunicationObject.cs:276 07-20 11:35:39.708 I/MonoDroid(1452) :在 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan 超时)[0x00000] 中
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/CommunicationObject.cs:169 07-20 11:35:39.708 I/MonoDroid(1452) :在 System.ServiceModel.Channels.CommunicationObject.Open()[0x00000] 中
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel.Channels/CommunicationObject.cs:164 07-20 11:35:39.708 I/MonoDroid(1452) : 在 System.ServiceModel.ChannelFactory.EnsureOpened() [0x00058] 中
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory.cs:297 07-20 11:35:39.708 I/MonoDroid(1452):在System.ServiceModel.ChannelFactory`1[TChannel].CreateChannel () [0x00000] in
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ChannelFactory_1.cs:108 07-20 11:35:39.708 I/MonoDroid(1452):在System.ServiceModel.ClientBase`1[TChannel].CreateChannel () [0x00000] in
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:266 07-20 11:35:39.708 I/MonoDroid(1452):在System.ServiceModel.ClientBase`1[TChannel].get_InnerChannel() [0x0000b] in
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:186 07-20 11:35:39.708 I/MonoDroid(1452):在System.ServiceModel.ClientBase`1[TChannel].get_Channel () [0x00000] in
/Users/builder/data/lanes/2923/52635947/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:192 07-20 11:35:39.708 I/MonoDroid(1452):在DataServiceClient.GetProjects (Int32 Firmaid) [0x00001] 在 C:\Users\username\documents\visual studio 2015\Projects\somethingMobileApp
\somethingMobileAppAndroid\DataService.cs:10752 07-20 11:35:39.708 I/MonoDroid(1452):在 C:\Users\username\documents\ 中的 somethingMobileAppAndroid.MainActivity.OnCreate(Android.OS.Bundle 包)[0x0006d]视觉工作室 2015\项目
\somethingMobileApp\somethingMobileAppAndroid\MainActivity.cs:50 07-20 11:35:39.708 D/Mono (1452): DllImport 搜索:'__Internal' ('(null)')。07-20 11:35:39.712 D/Mono(1452):搜索“java_interop_jnienv_new_string”。07-20 11:35:39.712 D/Mono(1452):探测“java_interop_jnienv_new_string”。07-20 11:35:39.712 D/Mono(1452):发现为“java_interop_jnienv_new_string”。07-20 11:35:39.716 D/Mono (1452): DllImport 搜索:'__Internal' ('(null)')。07-20 11:35:39.716 D/Mono(1452):搜索“java_interop_jnienv_throw”。07-20 11:35:39.716 D/Mono(1452):探测“java_interop_jnienv_throw”。07-20 11:35:39.716 D/Mono(1452):发现为“java_interop_jnienv_throw”。发生未处理的异常。
07-20 11:35:42.112 E/单声道(1452):07-20 11:35:42.112 E/单声道(1452):未处理的异常:07-20 11:35:42.112 E/单声道(1452):系统。 NotImplementedException:方法或操作未实现。07-20 11:35:42.112 E/mono (1452): at (wrapper dynamic-method) System.Object:c637c172-2e79-4a17-a720-5e2325d945f7 (intptr,intptr,intptr) 07-20 11:35:42.112 E/mono (1452): at (wrapper native-to-managed) System.Object:c637c172-2e79-4a17-a720-5e2325d945f7 (intptr,intptr,intptr) 在 mgmain JNI_OnLoad 07-20 11:35:42.112 E/mono -rt(1452):[错误]致命的未处理异常:System.NotImplementedException:方法或操作未实现。07-20 11:35:42.112 E/mono-rt (1452): at (wrapper dynamic-method) System.Object:c637c172-2e79-4a17-a720-5e2325d945f7 (intptr,intptr,intptr) 07-20 11:35 :42.112 E/单声道 (1452):
有什么建议吗?:)
c# - 当子类不使用抽象类中的函数时,是否有使用 NotImplementedException 的替代方法?
我正在制作一个简单的 Web 表单来收集客户数据并将其输入数据库。我有 5 个子类:Customer
、Bank
、Employee
、Owner
,TradeReference
它们继承自抽象类DataEntry
. DataEntry
有一个功能public void InsertSelfIntoDataBase(int id);
。id 参数是 Customers 表中的主键(Bank、Employee、Owner 和 TradeReference 与 Customer 具有多对一关系),因此Customer
不需要插入 id(CustomerID 在数据库中自动递增) )。
目前,我的代码设置为Bank
, Employee
, Owner
, 并在父类中TradeReference
实现InsertSelfIntoDataBase
函数,同时Customer
抛出 NotImplementedException,因此Customer
类代码的代码看起来有点像这样:
这个实现是有效的,但它让我觉得我必须使用 NotImplementedException;就像我无法摆脱那种感觉,我的大学教授不知何故知道并在默默地评判我。有没有更好的方法来做到这一点?