RegexMatchTimeoutException::ISerializable::GetObjectData Method (SerializationInfo^, StreamingContext)

.NET Framework (current version)

Populates a SerializationInfo object with the data needed to serialize a RegexMatchTimeoutException object.

Namespace:   System.Text.RegularExpressions
Assembly:  System (in System.dll)

[SecurityPermissionAttribute(SecurityAction::LinkDemand, SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ si,
	StreamingContext context
) sealed = ISerializable::GetObjectData


Type: System.Runtime.Serialization::SerializationInfo^

The object to populate with data.

Type: System.Runtime.Serialization::StreamingContext

The destination for this serialization.

This member is an explicit interface member implementation. It can be used only when the RegexMatchTimeoutException instance is cast to an ISerializable interface object.

Any objects that are included in the SerializationInfo object are automatically tracked and serialized by the formatter.

.NET Framework
Available since 4.5
Return to top