Initializes an exception from serialized data
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected DatabaseConnectionException(
    SerializationInfo info,
    StreamingContext context
)
protected:
DatabaseConnectionException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> DatabaseConnectionException
protected function DatabaseConnectionException(
    info : SerializationInfo, 
    context : StreamingContext
)
Parameters
- info 
 Type: System.Runtime.Serialization.SerializationInfo- object holding the serialized data 
- context 
 Type: System.Runtime.Serialization.StreamingContext- context information about the source or destination 
.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
DatabaseConnectionException Class