共用方式為


InRowChangingEventException 建構函式

定義

初始化 InRowChangingEventException 類別的新實例。

多載

InRowChangingEventException()

初始化 InRowChangingEventException 類別的新實例。

InRowChangingEventException(String)

使用指定的字串,初始化 InRowChangingEventException 類別的新實例。

InRowChangingEventException(SerializationInfo, StreamingContext)
已淘汰.

使用串行化資訊,初始化 InRowChangingEventException 類別的新實例。

InRowChangingEventException(String, Exception)

使用指定的錯誤訊息和造成這個例外狀況的內部例外狀況參考,初始化 InRowChangingEventException 類別的新實例。

InRowChangingEventException()

來源:
DataException.cs
來源:
DataException.cs
來源:
DataException.cs

初始化 InRowChangingEventException 類別的新實例。

public:
 InRowChangingEventException();
public InRowChangingEventException ();
Public Sub New ()

適用於

InRowChangingEventException(String)

來源:
DataException.cs
來源:
DataException.cs
來源:
DataException.cs

使用指定的字串,初始化 InRowChangingEventException 類別的新實例。

public:
 InRowChangingEventException(System::String ^ s);
public InRowChangingEventException (string? s);
public InRowChangingEventException (string s);
new System.Data.InRowChangingEventException : string -> System.Data.InRowChangingEventException
Public Sub New (s As String)

參數

s
String

擲回例外狀況時要顯示的字串。

適用於

InRowChangingEventException(SerializationInfo, StreamingContext)

來源:
DataException.cs
來源:
DataException.cs
來源:
DataException.cs

警告

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

使用串行化資訊,初始化 InRowChangingEventException 類別的新實例。

protected:
 InRowChangingEventException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InRowChangingEventException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected InRowChangingEventException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Data.InRowChangingEventException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.InRowChangingEventException
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Data.InRowChangingEventException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.InRowChangingEventException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

串行化或還原串行化物件所需的數據。

context
StreamingContext

指定串行化數據流的來源和目的地描述。

屬性

另請參閱

適用於

InRowChangingEventException(String, Exception)

來源:
DataException.cs
來源:
DataException.cs
來源:
DataException.cs

使用指定的錯誤訊息和造成這個例外狀況的內部例外狀況參考,初始化 InRowChangingEventException 類別的新實例。

public:
 InRowChangingEventException(System::String ^ message, Exception ^ innerException);
public InRowChangingEventException (string? message, Exception? innerException);
public InRowChangingEventException (string message, Exception innerException);
new System.Data.InRowChangingEventException : string * Exception -> System.Data.InRowChangingEventException
Public Sub New (message As String, innerException As Exception)

參數

message
String

說明例外狀況原因的錯誤訊息。

innerException
Exception

如果未指定任何內部例外狀況,則為目前例外狀況的例外狀況,或 Null 參考 (Nothing 在 Visual Basic 中為 。

適用於