ContextMarshalException クラスとは? わかりやすく解説

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

ContextMarshalException クラス

メモ : このクラスは、互換性のために残されています。

コンテキスト境界越えてオブジェクトマーシャリングようとして失敗した場合スローされる例外

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

<SerializableAttribute> _
<ObsoleteAttribute("ContextMarshalException is obsolete.")>
 _
<ComVisibleAttribute(True)> _
Public Class ContextMarshalException
    Inherits SystemException
Dim instance As ContextMarshalException
[SerializableAttribute] 
[ObsoleteAttribute("ContextMarshalException is obsolete.")] 
[ComVisibleAttribute(true)] 
public class ContextMarshalException : SystemException
[SerializableAttribute] 
[ObsoleteAttribute(L"ContextMarshalException is obsolete.")] 
[ComVisibleAttribute(true)] 
public ref class ContextMarshalException :
 public SystemException
/** @attribute SerializableAttribute() */ 
/** @attribute ObsoleteAttribute("ContextMarshalException is obsolete.")
 */ 
/** @attribute ComVisibleAttribute(true) */ 
public class ContextMarshalException extends
 SystemException
SerializableAttribute 
ObsoleteAttribute("ContextMarshalException is obsolete.") 
ComVisibleAttribute(true) 
public class ContextMarshalException extends
 SystemException
解説解説

値渡しまたは参照渡しオブジェクトマーシャリングできますコンテキスト境界越えてマーシャリングできない型を渡そうとすると、ContextMarshalException発生します

ContextMarshalException は、値 0x80131504L を保持する HRESULT COR_E_CONTEXTMARSHAL を使用します

ContextMarshalException は、Equals メソッド既定実装使用します。この実装では、参照等値かどうか判断できます

ContextMarshalExceptionインスタンス初期プロパティ値の一覧については、ContextMarshalException コンストラクタトピック参照してください

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



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「ContextMarshalException クラス」の関連用語

ContextMarshalException クラスのお隣キーワード
検索ランキング

   

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



ContextMarshalException クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS