[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Represents the exception that is thrown because a monitoring task already exists in the user role scope. Check for duplicate assignments. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Syntax

Visual Basic
<SerializableAttribute> _
<ObsoleteAttribute("Use TaskInUserRoleScopeAlreadyExistsException")> _
Public Class MonitoringTaskInUserRoleScopeAlreadyExistsException
		Inherits EnterpriseManagementException
C#
[SerializableAttribute] 
[ObsoleteAttribute("Use TaskInUserRoleScopeAlreadyExistsException")] 
public class MonitoringTaskInUserRoleScopeAlreadyExistsException : EnterpriseManagementException
C++
[SerializableAttribute] 
[ObsoleteAttribute(L"Use TaskInUserRoleScopeAlreadyExistsException")] 
public ref class MonitoringTaskInUserRoleScopeAlreadyExistsException : public EnterpriseManagementException
J#
/** @attribute SerializableAttribute() */ 
/** @attribute ObsoleteAttribute("Use TaskInUserRoleScopeAlreadyExistsException") */ 
public class MonitoringTaskInUserRoleScopeAlreadyExistsException extends EnterpriseManagementException
JScript
SerializableAttribute 
ObsoleteAttribute("Use TaskInUserRoleScopeAlreadyExistsException") 
public class MonitoringTaskInUserRoleScopeAlreadyExistsException extends EnterpriseManagementException

Inheritance Hierarchy

System.Object
   System.Exception
     Microsoft.EnterpriseManagement.Common.MonitoringException
       Microsoft.EnterpriseManagement.Common.EnterpriseManagementException
        Microsoft.EnterpriseManagement.Common.MonitoringTaskInUserRoleScopeAlreadyExistsException
           Microsoft.EnterpriseManagement.Common.TaskInUserRoleScopeAlreadyExistsException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also