Class WontImplementException
The exception that is thrown when a requested method or operation is not, and will not be, implemented.
Inheritance
Namespace: Umbraco.Core.Exceptions
Assembly: Umbraco.Core.dll
Syntax
[Serializable]
[Obsolete("If a method or operation is not, and will not be, implemented, it is invalid or not supported, so we should throw either an InvalidOperationException or NotSupportedException instead.")]
public class WontImplementException : NotImplementedException, ISerializable, _Exception
Remarks
The System.NotImplementedException is to be used when some code is not implemented, but should eventually be implemented (i.e. work in progress) and is reported by tools such as ReSharper. This exception is to be used when some code is not implemented, and is not meant to be, for whatever reason.
Constructors
View SourceWontImplementException()
Initializes a new instance of the WontImplementException class.
Declaration
public WontImplementException()
WontImplementException(SerializationInfo, StreamingContext)
Initializes a new instance of the WontImplementException class.
Declaration
protected WontImplementException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
WontImplementException(String)
Initializes a new instance of the WontImplementException class with a specified reason message.
Declaration
public WontImplementException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
WontImplementException(String, Exception)
Initializes a new instance of the WontImplementException class.
Declaration
public WontImplementException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | inner | The exception that is the cause of the current exception. If the |