RegexMatchTimeoutException.ISerializable.GetObjectData(SerializationInfo, StreamingContext) 方法

定義

將序列化 SerializationInfo 物所需的資料填入 RegexMatchTimeoutException 物件。Populates a SerializationInfo object with the data needed to serialize a RegexMatchTimeoutException object.

 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);
Sub GetObjectData (si As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

參數

si
SerializationInfo

要填入資料的物件。The object to populate with data.

context
StreamingContext

這個序列化的目的端。The destination for this serialization.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在RegexMatchTimeoutException實例轉換ISerializable成介面物件時, 才可以使用它。It can be used only when the RegexMatchTimeoutException instance is cast to an ISerializable interface object.

包含在SerializationInfo物件中的任何物件都會由格式器自動追蹤和序列化。Any objects that are included in the SerializationInfo object are automatically tracked and serialized by the formatter.

適用於

另請參閱