Freigeben über


InvalidMonitoringProfileException Constructor (Guid, Guid)

Initializes a new InvalidMonitoringProfileException object with a user role and profile identifiers.

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

Usage

'Usage
Dim userRoleId As Guid
Dim profileId As Guid

Dim instance As New InvalidMonitoringProfileException(userRoleId, profileId)

Syntax

'Declaration
Public Sub New ( _
    userRoleId As Guid, _
    profileId As Guid _
)
public InvalidMonitoringProfileException (
    Guid userRoleId,
    Guid profileId
)
public:
InvalidMonitoringProfileException (
    Guid userRoleId, 
    Guid profileId
)
public InvalidMonitoringProfileException (
    Guid userRoleId, 
    Guid profileId
)
public function InvalidMonitoringProfileException (
    userRoleId : Guid, 
    profileId : Guid
)

Parameters

  • userRoleId
    A globally unique identifier (GUID) for the user role for which the profile is specified.
  • profileId
    A GUID for the invalid profile that is specified for the user role.

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

InvalidMonitoringProfileException Class
InvalidMonitoringProfileException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.