Partager via


DiscoveryDataInvalidMonitoringClassIdException Constructor (Guid, Guid, Guid, String)

[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 DiscoveryDataInvalidMonitoringClassIdException class using the specified parameters.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim monitoringClassId As Guid
Dim ruleId As Guid
Dim baseManagedEntityId As Guid
Dim instance As String

Dim instance As New DiscoveryDataInvalidMonitoringClassIdException(monitoringClassId, ruleId, baseManagedEntityId, instance)

Syntax

'Declaration
Public Sub New ( _
    monitoringClassId As Guid, _
    ruleId As Guid, _
    baseManagedEntityId As Guid, _
    instance As String _
)
public DiscoveryDataInvalidMonitoringClassIdException (
    Guid monitoringClassId,
    Guid ruleId,
    Guid baseManagedEntityId,
    string instance
)
public:
DiscoveryDataInvalidMonitoringClassIdException (
    Guid monitoringClassId, 
    Guid ruleId, 
    Guid baseManagedEntityId, 
    String^ instance
)
public DiscoveryDataInvalidMonitoringClassIdException (
    Guid monitoringClassId, 
    Guid ruleId, 
    Guid baseManagedEntityId, 
    String instance
)
public function DiscoveryDataInvalidMonitoringClassIdException (
    monitoringClassId : Guid, 
    ruleId : Guid, 
    baseManagedEntityId : Guid, 
    instance : String
)

Parameters

  • monitoringClassId
    The Class identifier of the Object that caused the exception to be thrown.
  • ruleId
    The GUID for the rule.
  • baseManagedEntityId
    The Object identifier for the instance of the Class that caused the exception.
  • instance
    The instance XML for the managed entity.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

DiscoveryDataInvalidMonitoringClassIdException Class
DiscoveryDataInvalidMonitoringClassIdException Members
Microsoft.EnterpriseManagement.Common Namespace