ConfigurationErrorsException Constructor (SerializationInfo^, StreamingContext)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the ConfigurationErrorsException class.
Assembly: System.Configuration (in System.Configuration.dll)
protected:
ConfigurationErrorsException(
SerializationInfo^ info,
StreamingContext context
)
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
The object that holds the information to deserialize.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
Contextual information about the source or destination.
| Exception | Condition |
|---|---|
| InvalidOperationException | The current type is not a ConfigurationException or a ConfigurationErrorsException. |
.NET Framework
Available since 2.0
Available since 2.0
Show: