Partager via


InvalidReaderException Constructor (SerializationInfo, StreamingContext)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new InvalidReaderException object 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 InvalidReaderException(info, context)

Syntax

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

Parameters

  • info
    The SerializationInfo object that holds the serialized object data about the exception being thrown.
  • context
    The StreamingContext 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

InvalidReaderException Class
InvalidReaderException Members
Microsoft.EnterpriseManagement.Common Namespace