Share via


Context Members

The members of the Context class are listed here.

Methods

Name Description

Echo

When called in a response, this method writes messages to a text file for debugging purposes.

GetOverride

Gets the specified override for the current rule.

Submit

Submits a CustomAlert object to the MOM runtime.

Properties

Name Description

Alert

Gets the RuntimeAlert object that caused MOM to invoke the response.

Event

Gets the RuntimeEvent object that invoked the current response.

ManagementGroupName

Gets the name of the management group that deployed the current response.

PerformanceData

Gets the RuntimePerformanceData object that invoked the current response

State

Gets the State object.

Target

Gets a ResponseTarget object, which provides details about the computer running the response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom.Runtime

Assembly: MOM.Context (in MOM.Context.dll)