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

Namespace: ASCOM.Utilities.Exceptions
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.3.0.2839)
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
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