RegexMatchTimeoutException Constructor (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.

Initializes a new instance of the RegexMatchTimeoutException class with serialized data.

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

protected RegexMatchTimeoutException(
	SerializationInfo info,
	StreamingContext context


Type: System.Runtime.Serialization.SerializationInfo

The object that contains the serialized data.

Type: System.Runtime.Serialization.StreamingContext

The stream that contains the serialized data.

This constructor is not called directly by your code to instantiate the RegexMatchTimeoutException object. Instead, it is called by the IFormatter.Deserialize method when deserializing the RegexMatchTimeoutException object from a stream.

.NET Framework
Available since 4.5
Return to top