Compartilhar via


ServerDisconnectedException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the ServerDisconnectedException 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 ServerDisconnectedException(info, context)

Syntax

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

Parameters

  • info
    Type: SerializationInfo

    The serialized object data about the exception that is being thrown.

  • context
    Type: StreamingContext

    The 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

ServerDisconnectedException Class
ServerDisconnectedException Members
Microsoft.EnterpriseManagement.Common Namespace