PropertyNotImplementedException Class

All properties defined by the relevant ASCOM standard interface must exist in each driver. However, those properties do not all have to be implemented. The minimum requirement for each defined property is to throw the ASCOM.PropertyNotImplementedException for each of its accessors. Note that no default constructor is supplied. Throwing this requires both the property name and unimplemented accessor type to be supplied.

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
C#
[SerializableAttribute]
[ComVisibleAttribute(true)]
[GuidAttribute("EA016028-4929-4962-B768-3A4F33FC36A8")]
public class PropertyNotImplementedException : NotImplementedException
Inheritance
Object    Exception    DriverException    NotImplementedException    PropertyNotImplementedException

Remarks

If you need to throw this error as a COM exception use the error number: 0x80040400.

Constructors

PropertyNotImplementedException Create a new exception
PropertyNotImplementedException(String) Create a new exception
PropertyNotImplementedException(String, Boolean) Create a new exception object and identify the specified driver property and accessor as the source.
PropertyNotImplementedException(String, Exception) Create a new exception
PropertyNotImplementedException(String, String) Create a new exception with the supplied message
PropertyNotImplementedException(String, Boolean, Exception) Create a new exception object and identify the specified driver property as the source, and include an inner exception object containing a caught exception.
PropertyNotImplementedException(String, Boolean, String) Create a new exception with the supplied message

Properties

AccessorSet True if the 'set' accessor is not implemented, else false
Number The COM error code for this exception (hex 80040400 - 800404FF)
(Inherited from DriverException)
Property The property that is not implemented
PropertyOrMethod The property/accessor or method that is not implemented
(Inherited from NotImplementedException)

Extension Methods

ErrorCode Extension method to get the Alpaca Error Code for an Exception. Returns UnspecifiedError if it cannot find a better code
(Defined by ExceptionHelpers)

Version Information

.NET Standard

Supported in: 2.0

See Also