Partager via


UnauthorizedAccessMonitoringException.MonitoringTaskId Property

[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

'Usage
Dim instance As UnauthorizedAccessMonitoringException
Dim value As Guid

value = instance.MonitoringTaskId

Syntax

'Declaration
<ObsoleteAttribute("Use TaskId")> _
Public ReadOnly Property MonitoringTaskId As Guid
[ObsoleteAttribute("Use TaskId")] 
public Guid MonitoringTaskId { get; }
[ObsoleteAttribute(L"Use TaskId")] 
public:
property Guid MonitoringTaskId {
    Guid get ();
}
/** @property */
public Guid get_MonitoringTaskId ()
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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

UnauthorizedAccessMonitoringException Class
UnauthorizedAccessMonitoringException Members
Microsoft.EnterpriseManagement.Common Namespace