Questions tagged [notimplementedexception]

NotImplementedException is a .Net exception used as a placeholder in order to alert programmers to the fact that a method has not been implemented.

The NotImplementedException is a built-in implemented as part of the System namespace.

It is thrown when a method has not been implemented, alerting the caller that the method is not available and should not be used.

As part of the template code for auto-implementing interface methods, a NotImplementedException will be inserted into the body of the auto-implemented method.

The MSDN Documentation has more information regarding the use of this exception.

77 questions
3
votes
1 answer

warning CA1065 Microsoft Design Not Implemented Exception

I searched in google but couldn't find the correct answer. Could anyone know how to handle these kind of errors? The error is: public override ReadOnlyCollection SecurityKeys { get { throw new NotImplementedException(); } …
Beginner
  • 41
  • 5
2
votes
2 answers

How can a method contain only a NotImplementedException and still run without throwing?

If I check in Reflector for FieldInfo.SetValueDirect it looks as follows: C#, .NET 4.0: [CLSCompliant(false)] public virtual void SetValueDirect(TypedReference obj, object value) { throw new…
Abel
  • 56,041
  • 24
  • 146
  • 247
2
votes
2 answers

NotImplementedException in Silverlight and IronPython

i'm hosting IronPython Scripts in one Silverlight Application and i want to run the script and get one System.Windows.Controls.TextBlock object. so i use this ironPython code: import clr clr.AddReferenceByName("System.Windows.Controls,…
Victor
  • 51
  • 1
  • 5
2
votes
2 answers

Basic JavaScript crashes/hangs IE9, but not FF, Ch, or Op - "Not Implemented"

I get the following error: SCRIPT16385: Not implemented On the following line of code: document.getElementById("amtcase").style = "background-color: #FFFFFF;"; "amtcase" is a text field This only occurs on IE9, tested fine with Opera, Chrome, and…
Louis
  • 170
  • 2
  • 10
2
votes
1 answer

C# System.Drawing Graphic Not implemented exception

The following code compiles, but when the method is called I get System.NotImplementedException: Not implemented. I'm not using custom classes. private void miterTopLeft(Image img, Graphics gfx) { int maxSize = Math.Max(img.Height, img.Width); …
Joe
  • 80,724
  • 18
  • 127
  • 145
2
votes
1 answer

'((System.Linq.IQueryable)((Moq.Mock)(mockDbSet)).Object).Provider' threw an exception of type 'System.NotImplementedException'

I am attempting to mock multiple DbSets and their DbContext. I'm stumped about this one. I appreciate any feedback. When I run the test, I receive the following null reference exception: System.NullReferenceException : Object reference not set…
Thor
  • 181
  • 1
  • 2
  • 8
2
votes
4 answers

FxCop rule that checks for NotImplementedExceptions

I'd like to have the nightly build check for how many NotImplementedExeptions there are in my .NET code so hopefully we can remove them all before releasing. My first thought is that FxCop might be a good tool to do this. Does anyone have a custom…
Lance Fisher
  • 25,684
  • 22
  • 96
  • 122
2
votes
2 answers

Is there an alternative to using a NotImplementedException when a subclass doesn't use a function in an abstract class?

I'm making a simple web form to gather customer data and enter it into a database. I have 5 sub-classes: Customer, Bank, Employee, Owner, and TradeReference which inherit from the abstract class, DataEntry. DataEntry has a function public void…
2
votes
3 answers

Xamarin WCF BasicHttpBinding - Method or operation is not implemented

Quick background info: There is a wcf with authentication which use BasicHttpBinding. The Dataservice.cs contains the dataserviceclient based on the service metadata (generated using svcutil). I first made an console app using the code and it…
2
votes
2 answers

streamOut.FlushAsync() not implemented exception

I am working on USB communication UWP APP. I can get SerialDevice instance without problem, but when I call myDevice.OutputStream.FlushAsync() I get not Implemented exception. Here is my code private async void EstablishConButton_Click(object…
Martin2112
  • 31
  • 3
2
votes
2 answers

Exception while evaluating formula CELL using Apache POI

I am getting following exception when trying to evaluate all cell in workbook. I am using version 3.13 for Apache poi. Formula is CELL("filename") org.apache.poi.ss.formula.eval.NotImplementedFunctionException: CELL Is there any way to make it…
vaibhavvc1092
  • 3,067
  • 4
  • 19
  • 26
2
votes
1 answer

Ninject causes NotImplementedException at HttpContextBase.get_Response()

I'm building an ASP.NET Web API 2 project. I wanted to use dependency injection so I installed the Ninject Library for the purpose. At first, I tried to install it by using the NuGet Package Manager, but I got the following error upon…
2
votes
1 answer

Azure Table Storage SaveChanges returns "The requested operation is not implemented on the specified resource."

Calling save on the following Azure Table Object: public class MyEntity : TableServiceEntity { public string Title { get; set; } public string Description { get; set; } public float Amount { get; set; } public DateTime CreatedAt {…
Joshcodes
  • 8,513
  • 5
  • 40
  • 47
1
vote
0 answers

NotImplementedError error using custom generator

I use custom generator for training my data. It should inherit keras.utils.Sequence and should have defined such methods: init,len,on_epoch_end,getitem. when I fit my model "NotImplemented Error" occurred. I know its about one of these overrided…
1
vote
1 answer

Python Error - NotImplementedError: Conversion 'py2rpy' not defined for objects of type ''

I'm getting the error below from some Python code. Can anyone help me figure out what is going on? I tried to embed the full code, but I kept getting an error saying my code was not properly formatted. I'll try to post a reply with the full…