SettingsPropertyIsReadOnlyException 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.
Creates a new instance of the SettingsPropertyIsReadOnlyException class.
Overloads
SettingsPropertyIsReadOnlyException() |
Initializes a new instance of the SettingsPropertyIsReadOnlyException class. |
SettingsPropertyIsReadOnlyException(String) |
Initializes a new instance of the SettingsPropertyIsReadOnlyException class based on a supplied parameter. |
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()
Initializes a new instance of the SettingsPropertyIsReadOnlyException class.
public:
SettingsPropertyIsReadOnlyException();
public SettingsPropertyIsReadOnlyException ();
Public Sub New ()
Applies to
SettingsPropertyIsReadOnlyException(String)
Initializes a new instance of the SettingsPropertyIsReadOnlyException class based on a supplied parameter.
public:
SettingsPropertyIsReadOnlyException(System::String ^ message);
public SettingsPropertyIsReadOnlyException (string message);
new System.Configuration.SettingsPropertyIsReadOnlyException : string -> System.Configuration.SettingsPropertyIsReadOnlyException
Public Sub New (message As String)
Parameters
- message
- String
A string containing an exception message.
Applies to
SettingsPropertyIsReadOnlyException(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 SettingsPropertyIsReadOnlyException class based on the supplied parameters.
protected:
SettingsPropertyIsReadOnlyException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SettingsPropertyIsReadOnlyException (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 SettingsPropertyIsReadOnlyException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Configuration.SettingsPropertyIsReadOnlyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyIsReadOnlyException
[<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.SettingsPropertyIsReadOnlyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyIsReadOnlyException
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
SettingsPropertyIsReadOnlyException(String, Exception)
Initializes a new instance of the SettingsPropertyIsReadOnlyException class based on supplied parameters.
public:
SettingsPropertyIsReadOnlyException(System::String ^ message, Exception ^ innerException);
public SettingsPropertyIsReadOnlyException (string message, Exception innerException);
new System.Configuration.SettingsPropertyIsReadOnlyException : string * Exception -> System.Configuration.SettingsPropertyIsReadOnlyException
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應