DatabaseConnectionException Constructor (SerializationInfo, StreamingContext)
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.SerializationInfoobject holding the serialized data
context
Type: System.Runtime.Serialization.StreamingContextcontext 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