SettingsPropertyIsReadOnlyException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an exception for read-only SettingsProperty objects.
public ref class SettingsPropertyIsReadOnlyException : Exception
[System.Serializable]
public class SettingsPropertyIsReadOnlyException : Exception
public class SettingsPropertyIsReadOnlyException : Exception
[<System.Serializable>]
type SettingsPropertyIsReadOnlyException = class
inherit Exception
type SettingsPropertyIsReadOnlyException = class
inherit Exception
Public Class SettingsPropertyIsReadOnlyException
Inherits Exception
- Inheritance
- Attributes
Remarks
This exception is thrown by the SettingsBase class when attempting to change the value of a SettingsPropertyValue that was marked as being read-only.
Constructors
| Name | Description |
|---|---|
| SettingsPropertyIsReadOnlyException() |
Initializes a new instance of the SettingsPropertyIsReadOnlyException class. |
| SettingsPropertyIsReadOnlyException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the SettingsPropertyIsReadOnlyException class based on the supplied parameters. |
| SettingsPropertyIsReadOnlyException(String, Exception) |
Initializes a new instance of the SettingsPropertyIsReadOnlyException class based on supplied parameters. |
| SettingsPropertyIsReadOnlyException(String) |
Initializes a new instance of the SettingsPropertyIsReadOnlyException class based on a supplied parameter. |