Compartilhar via


InvalidConnectionException Constructor (SerializationInfo, StreamingContext)

Initializes a new InvalidConnectionException object with serialized data.

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

Usage

'Usage
Dim serializationInfo As SerializationInfo
Dim streamingContext As StreamingContext

Dim instance As New InvalidConnectionException(serializationInfo, streamingContext)

Syntax

'Declaration
Protected Sub New ( _
    serializationInfo As SerializationInfo, _
    streamingContext As StreamingContext _
)
protected InvalidConnectionException (
    SerializationInfo serializationInfo,
    StreamingContext streamingContext
)
protected:
InvalidConnectionException (
    SerializationInfo^ serializationInfo, 
    StreamingContext streamingContext
)
protected InvalidConnectionException (
    SerializationInfo serializationInfo, 
    StreamingContext streamingContext
)
protected function InvalidConnectionException (
    serializationInfo : SerializationInfo, 
    streamingContext : StreamingContext
)

Parameters

  • serializationInfo
    The SerializationInfo object that holds the serialized object data about the exception being thrown.
  • streamingContext
    The StreamingContext object that contains contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object that is transmitted over a stream.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidConnectionException Class
InvalidConnectionException Members
Microsoft.EnterpriseManagement.Common Namespace