次の方法で共有


InvalidSimpleObjectValueException Constructor (SerializationInfo, StreamingContext)

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

Syntax

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

Parameters

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

InvalidSimpleObjectValueException Class
InvalidSimpleObjectValueException Members
Microsoft.EnterpriseManagement.Common Namespace