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)

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

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.

SettingsPropertyIsReadOnlyException(SerializationInfo, StreamingContext)

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);
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.

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