Export (0) Print
Expand All

RegexMatchTimeoutException.ISerializable.GetObjectData Method

.NET Framework 4.6 and 4.5

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

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

'Declaration
<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.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft