[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Initializes a new DiscoveryDataDiscoverySourceNotAllowedException object. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim discoverySourceId As Guid
Dim ruleId As Guid

Dim instance As New DiscoveryDataDiscoverySourceNotAllowedException(discoverySourceId, ruleId)

Syntax

Visual Basic
Public Sub New ( _
		discoverySourceId As Guid, _
		ruleId As Guid _
)
C#
public DiscoveryDataDiscoverySourceNotAllowedException (
		Guid discoverySourceId,
		Guid ruleId
)
C++
public:
DiscoveryDataDiscoverySourceNotAllowedException (
		Guid discoverySourceId, 
		Guid ruleId
)
J#
public DiscoveryDataDiscoverySourceNotAllowedException (
		Guid discoverySourceId, 
		Guid ruleId
)
JScript
public function DiscoveryDataDiscoverySourceNotAllowedException (
		discoverySourceId : Guid, 
		ruleId : Guid
)

Parameters

discoverySourceId

The discovery source that was not allowed in the discovery data item.

ruleId

The rule identifier for the rule that caused the exception.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also