RegexMatchTimeoutException Constructor (SerializationInfo, StreamingContext)

RegexMatchTimeoutException Constructor (SerializationInfo, StreamingContext)

.NET Framework 4.6 and 4.5

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
© 2015 Microsoft