InvalidConnectionStringException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidConnectionStringException class from serialized data.
Namespace: Microsoft.Data.Schema.Extensibility
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected InvalidConnectionStringException(
SerializationInfo info,
StreamingContext context
)
protected:
InvalidConnectionStringException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> InvalidConnectionStringException
protected function InvalidConnectionStringException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The serialized XML data that represents the exception.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext for reconstituting the exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
InvalidConnectionStringException Class
InvalidConnectionStringException Overload