RegexMatchTimeoutException.ISerializable.GetObjectData Method (SerializationInfo, StreamingContext)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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)]
void ISerializable.GetObjectData(
	SerializationInfo si,
	StreamingContext context


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