Lire en anglais Modifier

Partager via


SettingsPropertyNotFoundException Constructors

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.

Initializes a new instance of the SettingsPropertyNotFoundException class.

Overloads

SettingsPropertyNotFoundException()

Initializes a new instance of the SettingsPropertyNotFoundException class.

SettingsPropertyNotFoundException(String)

Initializes a new instance of the SettingsPropertyNotFoundException class, based on a supplied parameter.

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()

Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs

Initializes a new instance of the SettingsPropertyNotFoundException class.

C#
public SettingsPropertyNotFoundException();

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SettingsPropertyNotFoundException(String)

Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs

Initializes a new instance of the SettingsPropertyNotFoundException class, based on a supplied parameter.

C#
public SettingsPropertyNotFoundException(string message);

Parameters

message
String

A string containing an exception message.

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)

Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initializes a new instance of the SettingsPropertyNotFoundException class, based on supplied parameters.

C#
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected SettingsPropertyNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
C#
protected SettingsPropertyNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The SerializationInfo object that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext object that contains contextual information about the source or destination of the serialized stream.

Attributes

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions (Obsolète)
.NET (8 (package-provided), 9 (package-provided), 10 (package-provided))
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7 (8, 9, 10)

SettingsPropertyNotFoundException(String, Exception)

Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs
Source:
SettingsPropertyNotFoundException.cs

Initializes a new instance of the SettingsPropertyNotFoundException class, based on supplied parameters.

C#
public SettingsPropertyNotFoundException(string message, Exception innerException);

Parameters

message
String

A string containing an exception message.

innerException
Exception

The exception that is the cause of the current exception.

Applies to

.NET 10 (package-provided) et autres versions
Produit Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10