Rediger

Del via


SettingsPropertyIsReadOnlyException Constructors

Definition

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

Source:
SettingsPropertyIsReadOnlyException.cs
Source:
SettingsPropertyIsReadOnlyException.cs

Initializes a new instance of the SettingsPropertyIsReadOnlyException class.

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

Applies to

SettingsPropertyIsReadOnlyException(String)

Source:
SettingsPropertyIsReadOnlyException.cs
Source:
SettingsPropertyIsReadOnlyException.cs

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)

Source:
SettingsPropertyIsReadOnlyException.cs
Source:
SettingsPropertyIsReadOnlyException.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 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)

Source:
SettingsPropertyIsReadOnlyException.cs
Source:
SettingsPropertyIsReadOnlyException.cs

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