共用方式為


SqlTypeException.ISerializable.GetObjectData 方法

定義

將序列化目標物件所需的資料填入 SerializationInfo

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ si, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context);
abstract member System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (si As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

參數

si
SerializationInfo

用序列化目標物件所需之資料來填入的 SerializationInfo。

context
StreamingContext

這個序列化的目的端。

實作

備註

如需詳細資訊,請參閱GetObjectData

適用於