次の方法で共有


UpdateException コンストラクター

定義

オーバーロード

UpdateException()

UpdateException の新しいインスタンスを初期化します。

UpdateException(String)

専用のエラー メッセージを使用して、UpdateException の新しいインスタンスを初期化します。

UpdateException(SerializationInfo, StreamingContext)

シリアル化されたデータを使用して UpdateException の新しいインスタンスを初期化します。

UpdateException(String, Exception)

指定したエラー メッセージとこの例外の原因となった内部例外への参照を使用する UpdateException クラスの新しいインスタンスを初期化します。

UpdateException(String, Exception, IEnumerable<ObjectStateEntry>)

指定したエラー メッセージ、内部例外への参照、および UpdateException オブジェクトの列挙可能なコレクションを使用する ObjectStateEntry クラスの新しいインスタンスを初期化します。

UpdateException()

UpdateException の新しいインスタンスを初期化します。

public UpdateException ();
Public Sub New ()

適用対象

UpdateException(String)

専用のエラー メッセージを使用して、UpdateException の新しいインスタンスを初期化します。

public UpdateException (string message);
new System.Data.Entity.Core.UpdateException : string -> System.Data.Entity.Core.UpdateException
Public Sub New (message As String)

パラメーター

message
String

エラーを説明するメッセージ。

適用対象

UpdateException(SerializationInfo, StreamingContext)

シリアル化されたデータを使用して UpdateException の新しいインスタンスを初期化します。

protected UpdateException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.Entity.Core.UpdateException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.Entity.Core.UpdateException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

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

context
StreamingContext

転送元または転送先についてのコンテキスト情報を含む StreamingContext です。

適用対象

UpdateException(String, Exception)

指定したエラー メッセージとこの例外の原因となった内部例外への参照を使用する UpdateException クラスの新しいインスタンスを初期化します。

public UpdateException (string message, Exception innerException);
new System.Data.Entity.Core.UpdateException : string * Exception -> System.Data.Entity.Core.UpdateException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因である例外、または内部例外を指定しない場合は null 参照 (Visual Basic では Nothing) です。

適用対象

UpdateException(String, Exception, IEnumerable<ObjectStateEntry>)

指定したエラー メッセージ、内部例外への参照、および UpdateException オブジェクトの列挙可能なコレクションを使用する ObjectStateEntry クラスの新しいインスタンスを初期化します。

public UpdateException (string message, Exception innerException, System.Collections.Generic.IEnumerable<System.Data.Entity.Core.Objects.ObjectStateEntry> stateEntries);
new System.Data.Entity.Core.UpdateException : string * Exception * seq<System.Data.Entity.Core.Objects.ObjectStateEntry> -> System.Data.Entity.Core.UpdateException
Public Sub New (message As String, innerException As Exception, stateEntries As IEnumerable(Of ObjectStateEntry))

パラメーター

message
String

例外の原因を説明するエラー メッセージ。

innerException
Exception

現在の例外の原因である例外、または内部例外を指定しない場合は null 参照 (Visual Basic では Nothing) です。

stateEntries
IEnumerable<ObjectStateEntry>

ObjectStateEntry オブジェクトのコレクション。

適用対象