共用方式為


RegexMatchTimeoutException.ISerializable.GetObjectData 方法

定義

將序列化 SerializationInfo 物所需的資料填入 RegexMatchTimeoutException 物件。

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
 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 info, System.Runtime.Serialization.StreamingContext context);
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
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 (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData
Sub GetObjectData (si As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

參數

siinfo
SerializationInfo

要填入資料的物件。

context
StreamingContext

這個序列化的目的端。

實作

備註

這個成員是明確介面成員實作, 只有當實例轉換成 ISerializable 介面物件時 RegexMatchTimeoutException ,才能使用它。

物件中包含的 SerializationInfo 任何物件都會由格式器自動追蹤和序列化。

適用於

另請參閱