Chỉnh sửa

SettingsPropertyIsReadOnlyException Class

Definition

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
SettingsPropertyIsReadOnlyException
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.

Applies to

See also