Modifica

Condividi tramite


SettingsPropertyNotFoundException Constructors

Definition

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

Initializes a new instance of the SettingsPropertyNotFoundException class.

public:
 SettingsPropertyNotFoundException();
public SettingsPropertyNotFoundException ();
Public Sub New ()

Applies to

SettingsPropertyNotFoundException(String)

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.

public:
 SettingsPropertyNotFoundException(System::String ^ message);
public SettingsPropertyNotFoundException (string message);
new System.Configuration.SettingsPropertyNotFoundException : string -> System.Configuration.SettingsPropertyNotFoundException
Public Sub New (message As String)

Parameters

message
String

A string containing an exception message.

Applies to

SettingsPropertyNotFoundException(SerializationInfo, StreamingContext)

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.

protected:
 SettingsPropertyNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SettingsPropertyNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[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);
new System.Configuration.SettingsPropertyNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyNotFoundException
[<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}")>]
new System.Configuration.SettingsPropertyNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

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

SettingsPropertyNotFoundException(String, Exception)

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.

public:
 SettingsPropertyNotFoundException(System::String ^ message, Exception ^ innerException);
public SettingsPropertyNotFoundException (string message, Exception innerException);
new System.Configuration.SettingsPropertyNotFoundException : string * Exception -> System.Configuration.SettingsPropertyNotFoundException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A string containing an exception message.

innerException
Exception

The exception that is the cause of the current exception.

Applies to