SettingsPropertyNotFoundException 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 SettingsProperty objects that are not found.
public ref class SettingsPropertyNotFoundException : Exception
[System.Serializable]
public class SettingsPropertyNotFoundException : Exception
public class SettingsPropertyNotFoundException : Exception
[<System.Serializable>]
type SettingsPropertyNotFoundException = class
inherit Exception
type SettingsPropertyNotFoundException = class
inherit Exception
Public Class SettingsPropertyNotFoundException
Inherits Exception
- Inheritance
- Attributes
Remarks
This exception is thrown by the SettingsBase class when an attempt is made to access a property by name, but either the property was never associated with the SettingsBase class instance, or the provider configured for the property did not return a value when asked to load the property data.
Constructors
| Name | Description |
|---|---|
| SettingsPropertyNotFoundException() |
Initializes a new instance of the SettingsPropertyNotFoundException class. |
| SettingsPropertyNotFoundException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the SettingsPropertyNotFoundException class, based on supplied parameters. |
| SettingsPropertyNotFoundException(String, Exception) |
Initializes a new instance of the SettingsPropertyNotFoundException class, based on supplied parameters. |
| SettingsPropertyNotFoundException(String) |
Initializes a new instance of the SettingsPropertyNotFoundException class, based on a supplied parameter. |