Click or drag to resize
ValueNotAvailableException Class
Exception thrown when an attempt is made to read a value that has not yet been calculated.
Inheritance Hierarchy

Namespace: ASCOM.Astrometry.Exceptions
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
[SerializableAttribute]
public class ValueNotAvailableException : HelperException

The ValueNotAvailableException type exposes the following members.

Constructors
  NameDescription
Public methodValueNotAvailableException(String)
Create a new exception with message
Public methodValueNotAvailableException(SerializationInfo, StreamingContext)
Serialise the exception
Public methodValueNotAvailableException(String, Exception)
Create a new exception with message
Top
Properties
  NameDescription
Public propertyData
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Inherited from Exception.)
Public propertyHelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
Public propertyInnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Public propertyMessage
Gets a message that describes the current exception.
(Inherited from Exception.)
Public propertySource
Gets or sets the name of the application or the object that causes the error.
(Inherited from Exception.)
Public propertyStackTrace
Gets a string representation of the immediate frames on the call stack.
(Inherited from Exception.)
Public propertyTargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
Top
Methods
  NameDescription
Public methodGetBaseException
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
Public methodGetObjectData
When overridden in a derived class, sets the SerializationInfo with information about the exception.
(Inherited from Exception.)
Public methodGetType
Gets the runtime type of the current instance.
(Inherited from Exception.)
Public methodToString
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Top
Remarks
This probably occurs because another variable has not been set or a required method has not been called.
See Also