Compartilhar via


InvalidDiagnosticException Constructor (SerializationInfo, StreamingContext)

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected InvalidDiagnosticException (
    SerializationInfo info,
    StreamingContext context
)
protected:
InvalidDiagnosticException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected InvalidDiagnosticException (
    SerializationInfo info, 
    StreamingContext context
)
protected function InvalidDiagnosticException (
    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

InvalidDiagnosticException Class
InvalidDiagnosticException Members
Microsoft.EnterpriseManagement.Common Namespace