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

Parameters

si
Type: System.Runtime.Serialization.SerializationInfo

The object to populate with data.

context
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
Show: