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

SafeArrayTypeMismatchException クラス

着信 SAFEARRAY の型が、マネージ シグネチャ指定した型と一致しない場合スローされる例外

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

<SerializableAttribute> _
<ComVisibleAttribute(True)> _
Public Class SafeArrayTypeMismatchException
    Inherits SystemException
Dim instance As SafeArrayTypeMismatchException
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public class SafeArrayTypeMismatchException
 : SystemException
[SerializableAttribute] 
[ComVisibleAttribute(true)] 
public ref class SafeArrayTypeMismatchException
 : public SystemException
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public class SafeArrayTypeMismatchException
 extends SystemException
SerializableAttribute 
ComVisibleAttribute(true) 
public class SafeArrayTypeMismatchException
 extends SystemException
解説解説

SafeArrayTypeMismatchException は、値 0x80131533 を保持する HRESULT COR_E_SAFEARRAYTYPEMISMATCH を使用します

継承階層継承階層
System.Object
   System.Exception
     System.SystemException
      System.Runtime.InteropServices.SafeArrayTypeMismatchException
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SafeArrayTypeMismatchException メンバ
System.Runtime.InteropServices 名前空間
Exception
その他の技術情報
例外の処理とスロー

SafeArrayTypeMismatchException コンストラクタ ()

SafeArrayTypeMismatchException クラス新しインスタンス既定値初期化します。

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

Dim instance As New SafeArrayTypeMismatchException
public SafeArrayTypeMismatchException ()
public:
SafeArrayTypeMismatchException ()
public SafeArrayTypeMismatchException ()
public function SafeArrayTypeMismatchException
 ()
解説解説

SafeArrayTypeMismatchException は SystemException から継承します。このコンストラクタは、次の表に示すように、Exception オブジェクトプロパティ設定します

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

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

指定したエラー メッセージと、この例外原因である内部例外への参照使用して、SafeArrayTypeMismatchException クラス新しインスタンス初期化します。

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

解説解説

前の例外直接結果としてスローされる例外については、InnerException プロパティに、前の例外への参照格納されます。InnerException プロパティは、コンストラクタ渡されたものと同じ値を返しますInnerException プロパティによって内部例外値がコンストラクタ渡されなかった場合は、null 参照 (Visual Basic では Nothing) を返します

SafeArrayTypeMismatchExceptionインスタンス初期プロパティ値を次の表に示します

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SafeArrayTypeMismatchException クラス
SafeArrayTypeMismatchException メンバ
System.Runtime.InteropServices 名前空間
Exception
その他の技術情報
例外の処理とスロー

SafeArrayTypeMismatchException コンストラクタ (String)

指定したメッセージ使用してSafeArrayTypeMismatchException クラス新しインスタンス初期化します。

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

Dim message As String

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

パラメータ

message

例外理由を示すメッセージ

解説解説

SafeArrayTypeMismatchException は SystemException から継承します。このコンストラクタは、次の表に示すように、Exception オブジェクトプロパティ設定します

プロパティ

InnerException

null 参照 (Visual Basic では Nothing).

Message

message

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

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

シリアル化データから、SafeArrayTypeMismatchException クラス新しインスタンス初期化します。

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

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

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

パラメータ

info

シリアル化されたオブジェクト データ保持するオブジェクト

context

転送元または転送先に関すコンテキスト情報

例外例外
例外種類条件

ArgumentNullException

infonull 参照 (Visual Basic では Nothing) です。

解説解説

このコンストラクタは、逆シリアル化中にストリーム送信され例外オブジェクト再構築するために呼び出されます。詳細については、「System.Runtime.Serialization」を参照してください

SafeArrayTypeMismatchException は SystemException から継承します

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

SafeArrayTypeMismatchException コンストラクタ

SafeArrayTypeMismatchException クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
SafeArrayTypeMismatchException () SafeArrayTypeMismatchException クラス新しインスタンス既定値初期化します。

.NET Compact Framework によってサポートされています。

SafeArrayTypeMismatchException (String) 指定したメッセージ使用してSafeArrayTypeMismatchException クラス新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

SafeArrayTypeMismatchException (SerializationInfo, StreamingContext) シリアル化データから、SafeArrayTypeMismatchException クラス新しインスタンス初期化します。
SafeArrayTypeMismatchException (String, Exception) 指定したエラー メッセージと、この例外原因である内部例外への参照使用して、SafeArrayTypeMismatchException クラス新しインスタンス初期化します。

.NET Compact Framework によってサポートされています。

参照参照

関連項目

SafeArrayTypeMismatchException クラス
SafeArrayTypeMismatchException メンバ
System.Runtime.InteropServices 名前空間

SafeArrayTypeMismatchException プロパティ


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

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

関連項目

SafeArrayTypeMismatchException クラス
System.Runtime.InteropServices 名前空間
Exception

その他の技術情報

例外の処理とスロー

SafeArrayTypeMismatchException メソッド


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

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

関連項目

SafeArrayTypeMismatchException クラス
System.Runtime.InteropServices 名前空間
Exception

その他の技術情報

例外の処理とスロー

SafeArrayTypeMismatchException メンバ

着信 SAFEARRAY の型が、マネージ シグネチャ指定した型と一致しない場合スローされる例外

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


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

関連項目

SafeArrayTypeMismatchException クラス
System.Runtime.InteropServices 名前空間
Exception

その他の技術情報

例外の処理とスロー



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

辞書ショートカット

すべての辞書の索引

「SafeArrayTypeMismatchException」の関連用語

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

   

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



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

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

©2024 GRAS Group, Inc.RSS