[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Gets a globally unique identifier (GUID) for the monitoring task that failed the access check. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As UnauthorizedAccessMonitoringException
Dim value As Guid

value = instance.MonitoringTaskId

Syntax

Visual Basic
<ObsoleteAttribute("Use TaskId")> _
Public ReadOnly Property MonitoringTaskId As Guid
C#
[ObsoleteAttribute("Use TaskId")] 
public Guid MonitoringTaskId { get; }
C++
[ObsoleteAttribute(L"Use TaskId")] 
public:
property Guid MonitoringTaskId {
		Guid get ();
}
J#
/** @property */
public Guid get_MonitoringTaskId ()
JScript
public function get MonitoringTaskId () : Guid

Property Value

A GUID for the monitoring task that failed the access check.

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