SettingsPropertyIsReadOnlyExceptionとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SettingsPropertyIsReadOnlyExceptionの意味・解説 

SettingsPropertyIsReadOnlyException クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

読み取り専用の SettingsProperty オブジェクトの例外を提供します。

名前空間: System.Configuration
アセンブリ: System (system.dll 内)
構文構文

<SerializableAttribute> _
Public Class SettingsPropertyIsReadOnlyException
    Inherits Exception
Dim instance As SettingsPropertyIsReadOnlyException
[SerializableAttribute] 
public class SettingsPropertyIsReadOnlyException
 : Exception
[SerializableAttribute] 
public ref class SettingsPropertyIsReadOnlyException
 : public Exception
/** @attribute SerializableAttribute() */ 
public class SettingsPropertyIsReadOnlyException
 extends Exception
SerializableAttribute 
public class SettingsPropertyIsReadOnlyException
 extends Exception
解説解説

この例外は、読み取り専用としてマークされている SettingsPropertyValue の値を変更しようとすると、SettingsBase クラスによってスローされます。

継承階層継承階層
System.Object
   System.Exception
    System.Configuration.SettingsPropertyIsReadOnlyException
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

SettingsPropertyIsReadOnlyException コンストラクタ ()


SettingsPropertyIsReadOnlyException コンストラクタ (String, Exception)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

指定されたパラメータに基づいて、SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを初期化します。

名前空間: System.Configuration
アセンブリ: System (system.dll 内)
構文構文

Public Sub New ( _
    message As String, _
    innerException As Exception _
)
Dim message As String
Dim innerException As Exception

Dim instance As New SettingsPropertyIsReadOnlyException(message,
 innerException)
public SettingsPropertyIsReadOnlyException (
    string message,
    Exception innerException
)
public:
SettingsPropertyIsReadOnlyException (
    String^ message, 
    Exception^ innerException
)
public SettingsPropertyIsReadOnlyException (
    String message, 
    Exception innerException
)
public function SettingsPropertyIsReadOnlyException
 (
    message : String, 
    innerException : Exception
)

パラメータ

message

例外メッセージが含まれた文字列。

innerException

現在の例外の原因である例外。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SettingsPropertyIsReadOnlyException クラス
SettingsPropertyIsReadOnlyException メンバ
System.Configuration 名前空間

SettingsPropertyIsReadOnlyException コンストラクタ (SerializationInfo, StreamingContext)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

指定されたパラメータに基づいて、SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを初期化します。

名前空間: System.Configuration
アセンブリ: System (system.dll 内)
構文構文

Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New SettingsPropertyIsReadOnlyException(info,
 context)
protected SettingsPropertyIsReadOnlyException (
    SerializationInfo info,
    StreamingContext context
)
protected:
SettingsPropertyIsReadOnlyException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected SettingsPropertyIsReadOnlyException (
    SerializationInfo info, 
    StreamingContext context
)
protected function SettingsPropertyIsReadOnlyException
 (
    info : SerializationInfo, 
    context : StreamingContext
)

パラメータ

info

スローされている例外に関するシリアル化済みオブジェクト データを保持している SerializationInfo オブジェクト。

context

シリアル化ストリームの転送元または転送先に関するコンテキスト情報を格納している StreamingContext オブジェクト。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SettingsPropertyIsReadOnlyException クラス
SettingsPropertyIsReadOnlyException メンバ
System.Configuration 名前空間

SettingsPropertyIsReadOnlyException コンストラクタ (String)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

指定されたパラメータに基づいて、SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを初期化します。

名前空間: System.Configuration
アセンブリ: System (system.dll 内)
構文構文

Dim message As String

Dim instance As New SettingsPropertyIsReadOnlyException(message)
public SettingsPropertyIsReadOnlyException (
    string message
)
public:
SettingsPropertyIsReadOnlyException (
    String^ message
)
public SettingsPropertyIsReadOnlyException (
    String message
)
public function SettingsPropertyIsReadOnlyException
 (
    message : String
)

パラメータ

message

例外メッセージが含まれた文字列。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SettingsPropertyIsReadOnlyException クラス
SettingsPropertyIsReadOnlyException メンバ
System.Configuration 名前空間

SettingsPropertyIsReadOnlyException コンストラクタ

SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを作成します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
SettingsPropertyIsReadOnlyException () SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを初期化します。
SettingsPropertyIsReadOnlyException (String) 指定されたパラメータに基づいて、SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを初期化します。
SettingsPropertyIsReadOnlyException (SerializationInfo, StreamingContext) 指定されたパラメータに基づいて、SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを初期化します。
SettingsPropertyIsReadOnlyException (String, Exception) 指定されたパラメータに基づいて、SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを初期化します。
参照参照

関連項目

SettingsPropertyIsReadOnlyException クラス
SettingsPropertyIsReadOnlyException メンバ
System.Configuration 名前空間

SettingsPropertyIsReadOnlyException プロパティ


パブリック プロパティパブリック プロパティ

プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ HResult  特定の例外に割り当てられているコード化数値である HRESULT を取得または設定します。 ( Exception から継承されます。)
参照参照

関連項目

SettingsPropertyIsReadOnlyException クラス
System.Configuration 名前空間
Exception

SettingsPropertyIsReadOnlyException メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

SettingsPropertyIsReadOnlyException クラス
System.Configuration 名前空間
Exception

SettingsPropertyIsReadOnlyException メンバ

読み取り専用の SettingsProperty オブジェクトの例外を提供します。

SettingsPropertyIsReadOnlyException データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
( プロテクト コンストラクタ も参照)
  名前 説明
パブリック メソッド SettingsPropertyIsReadOnlyException オーバーロードされます。 SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを作成します。
プロテクト コンストラクタプロテクト コンストラクタ
  名前 説明
プロテクト メソッド SettingsPropertyIsReadOnlyException オーバーロードされます。 SettingsPropertyIsReadOnlyException クラスの新しいインスタンスを作成します。
パブリック プロパティパブリック プロパティ
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ HResult  特定の例外に割り当てられているコード化数値である HRESULT を取得または設定します。(Exception から継承されます。)
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

SettingsPropertyIsReadOnlyException クラス
System.Configuration 名前空間
Exception



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「SettingsPropertyIsReadOnlyException」の関連用語

SettingsPropertyIsReadOnlyExceptionのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SettingsPropertyIsReadOnlyExceptionのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS