Share via


DiscoveryDataRelationshipNotAllowedException Constructor (SerializationInfo, StreamingContext)

Initializes a new DiscoveryDataRelationshipNotAllowedException object.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

'Usage
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New DiscoveryDataRelationshipNotAllowedException(info, context)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected DiscoveryDataRelationshipNotAllowedException (
    SerializationInfo info,
    StreamingContext context
)
protected:
DiscoveryDataRelationshipNotAllowedException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected DiscoveryDataRelationshipNotAllowedException (
    SerializationInfo info, 
    StreamingContext context
)
protected function DiscoveryDataRelationshipNotAllowedException (
    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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

DiscoveryDataRelationshipNotAllowedException Class
DiscoveryDataRelationshipNotAllowedException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.