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()
Initializes a new instance of the SettingsPropertyNotFoundException class.
public:
SettingsPropertyNotFoundException();
public SettingsPropertyNotFoundException ();
Public Sub New ()
Applies to
SettingsPropertyNotFoundException(String)
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)
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)
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기