Compartilhar via


InvalidResultSetException 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 instance of the InvalidResultSetException class using 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 InvalidResultSetException(serializationInfo, streamingContext)

Syntax

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

Parameters

  • serializationInfo
    The object that holds the serialized data about the exception being thrown.
  • streamingContext
    Context information about the source or destination of the serialized object.

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

InvalidResultSetException Class
InvalidResultSetException Members
Microsoft.EnterpriseManagement.Common Namespace