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)

private:
[SecurityPermissionAttribute(SecurityAction::LinkDemand, SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ si,
	StreamingContext context
) sealed = 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: