Share via


InvalidMonitoringTaskInUserRoleScopeException.TaskId Property

Gets the identifier of the invalid Task in the User Role scope that caused the exception.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.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 Guid identifier of the Task.

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

InvalidMonitoringTaskInUserRoleScopeException Class
InvalidMonitoringTaskInUserRoleScopeException Members
Microsoft.EnterpriseManagement.Common Namespace