InvalidMonitoringTaskInUserRoleScopeException.TaskId Property
Gets the monitoring task identifier that caused the exception to be thrown.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)
Usage
'Usage
Dim instance As InvalidMonitoringTaskInUserRoleScopeException
Dim value As Guid
value = instance.TaskId
Syntax
'Declaration
Public ReadOnly Property TaskId As Guid
public Guid TaskId { get; }
public:
property Guid TaskId {
Guid get ();
}
/** @property */
public Guid get_TaskId ()
public function get TaskId () : Guid
Property Value
Returns the globally unique identifier (GUID) for the monitoring task that caused the exception to be thrown.
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,Windows Vista,Windows XP
See Also
Reference
InvalidMonitoringTaskInUserRoleScopeException Class
InvalidMonitoringTaskInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace