Compartilhar via


DatabaseUnavailableException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the DatabaseUnavailableException class with serialized data.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New DatabaseUnavailableException(info, context)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected DatabaseUnavailableException (
    SerializationInfo info,
    StreamingContext context
)
protected:
DatabaseUnavailableException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected DatabaseUnavailableException (
    SerializationInfo info, 
    StreamingContext context
)
protected function DatabaseUnavailableException (
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    The serialized object that has data about the exception being thrown.
  • context
    The object that contains contextual information about the source or destination.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

DatabaseUnavailableException Class
DatabaseUnavailableException Members
Microsoft.EnterpriseManagement.Common Namespace