RestrictedAccessException Class
Click or drag to resize

RestrictedAccessException Class

Exception thrown when an attempt is made to write to a protected part of the the Profile store that is reserved for Platform use. An example is attempting to write to the the default value of a device driver profile. This value is reserved for use by the Chooser to display the device description and is set by the Profile.Register method.
Inheritance Hierarchy
SystemObject
  SystemException
    ASCOM.Utilities.ExceptionsHelperException
      ASCOM.Utilities.ExceptionsRestrictedAccessException

Namespace:  ASCOM.Utilities.Exceptions
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.4.0.2624)
Syntax
[SerializableAttribute]
public class RestrictedAccessException : HelperException

The RestrictedAccessException type exposes the following members.

Constructors
  NameDescription
Public methodRestrictedAccessException(String)
Create a new exception with message
Public methodRestrictedAccessException(SerializationInfo, StreamingContext)
Serialise the exception
Public methodRestrictedAccessException(String, Exception)
Create a new exception with message
Top
Properties
  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top
Methods
  NameDescription
Public methodGetBaseException (Inherited from Exception.)
Public methodGetObjectData (Inherited from Exception.)
Public methodGetType (Inherited from Exception.)
Public methodToString (Inherited from Exception.)
Top
Remarks