Partager via


MonitoringStateChangeEvent Class

 

Applies To: Operations Manager for System Center 2012

Represents a monitoring state change event.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Common.MonitoringBase
    Microsoft.EnterpriseManagement.Common.MonitoringBaseWithId
      Microsoft.EnterpriseManagement.Monitoring.MonitoringStateChangeEvent

Syntax

[SerializableAttribute]
public class MonitoringStateChangeEvent : MonitoringBaseWithId
[SerializableAttribute]
public ref class MonitoringStateChangeEvent : MonitoringBaseWithId
[<SerializableAttribute>]
type MonitoringStateChangeEvent = 
    class
        inherit MonitoringBaseWithId
    end
<SerializableAttribute>
Public Class MonitoringStateChangeEvent
    Inherits MonitoringBaseWithId

Properties

Name Description
System_CAPS_pubproperty Context

Gets the context of the state change event.

System_CAPS_pubproperty Id

(Inherited from MonitoringBaseWithId.)

System_CAPS_pubproperty ManagementGroup

The connection management group connection used by this object.

System_CAPS_pubproperty ManagementGroupId

(Inherited from MonitoringBase.)

System_CAPS_pubproperty MonitorId

Gets the globally unique identifier (GUID) of the monitor associated with the state change event.

System_CAPS_pubproperty MonitoringObjectId

Gets the globally unique identifier (GUID) of the monitoring object associated with the state change event.

System_CAPS_pubproperty MonitoringStateId

Gets the globally unique identifier (GUID) of the state associated with the state change event.

System_CAPS_pubproperty NewHealthState

Gets the health state value after the change occurred.

System_CAPS_pubproperty NewOperationalState

Gets the operational state after the change occurred.

System_CAPS_pubproperty OldHealthState

Gets the health state before the change occurred.

System_CAPS_pubproperty OldOperationalState

Gets the operational state before the changed occurred.

System_CAPS_pubproperty TimeAdded

Gets the time, in DateTime format, that the state changed was added.

System_CAPS_pubproperty TimeGenerated

Gets the time, in DateTime format, that the state change event was generated.

Methods

Name Description
System_CAPS_pubmethod BeginExecuteDiagnostic(ManagementPackDiagnostic, AsyncCallback, Object)

System_CAPS_pubmethod BeginExecuteMonitoringDiagnostic(MonitoringDiagnostic, AsyncCallback, Object)

Obsolete.Begins the asynchronous execution of a diagnostic.

System_CAPS_pubmethod BeginExecuteMonitoringRecovery(MonitoringRecovery, String, AsyncCallback, Object)

Obsolete.Begins the asynchronous execution of a recovery.

System_CAPS_pubmethod BeginExecuteRecovery(ManagementPackRecovery, String, AsyncCallback, Object)

System_CAPS_pubmethod EndExecuteDiagnostic(IAsyncResult)

System_CAPS_pubmethod EndExecuteMonitoringDiagnostic(IAsyncResult)

Obsolete.Ends an asynchronous diagnostic execution.

System_CAPS_pubmethod EndExecuteMonitoringRecovery(IAsyncResult)

Obsolete.Ends an asynchronous recovery execution.

System_CAPS_pubmethod EndExecuteRecovery(IAsyncResult)

System_CAPS_pubmethod Equals(Object)

(Inherited from MonitoringBaseWithId.)

System_CAPS_pubmethod ExecuteDiagnostic(ManagementPackDiagnostic)

System_CAPS_pubmethod ExecuteMonitoringDiagnostic(MonitoringDiagnostic)

Obsolete.Synchronously executes a diagnostic.

System_CAPS_pubmethod ExecuteMonitoringRecovery(MonitoringRecovery, String)

Obsolete.Synchronously executes a recovery.

System_CAPS_pubmethod ExecuteRecovery(ManagementPackRecovery, String)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetDiagnosticResults()

System_CAPS_pubmethod GetHashCode()

(Inherited from MonitoringBaseWithId.)

System_CAPS_pubmethod GetMonitoringDiagnosticResults()

Obsolete.Gets a collection of the diagnostic results for the current state change event.

System_CAPS_pubmethod GetMonitoringRecoveryResults()

Obsolete.Gets a collection of the recovery results for the current state change event.

System_CAPS_pubmethod GetRecoveryResults()

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod Reconnect(EnterpriseManagementGroup)

Reconnects to the specified management group after the object has been disconnected.(Overrides MonitoringBase.Reconnect(EnterpriseManagementGroup).)

System_CAPS_protmethod SetId(Guid)

(Inherited from MonitoringBaseWithId.)

System_CAPS_pubmethod SubmitDiagnostic(ManagementPackDiagnostic)

System_CAPS_pubmethod SubmitMonitoringDiagnostic(MonitoringDiagnostic)

Obsolete.Submits a monitoring diagnostic for the current state change event.

System_CAPS_pubmethod SubmitMonitoringRecovery(MonitoringRecovery)

Obsolete.Submits a monitoring recovery for the current state change event.

System_CAPS_pubmethod SubmitMonitoringRecovery(MonitoringRecovery, String)

Obsolete.Submits a monitoring recovery for the current state change event.

System_CAPS_pubmethod SubmitRecovery(ManagementPackRecovery)

System_CAPS_pubmethod SubmitRecovery(ManagementPackRecovery, String)

System_CAPS_pubmethod ToString()

(Inherited from MonitoringBase.)

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.

See Also

Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top