RegexMatchTimeoutException Constructor (SerializationInfo, StreamingContext)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo

The object that contains the serialized data.

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