CustomAlert Class

The CustomAlert class represents alerts that are programmatically added to MOM. Unlike the RuntimeAlert class, the properties of the CustomAlert class are writable.

This class is used in managed code response assemblies, as well as by applications that use the MOM Management Server Class Library (MCL). In a managed code response, a CustomAlert object must be added to MOM using the Context.Submit method. In an MCL application, the CustomAlert object must be added to MOM using the Computer.InsertAlerts method.

For a list of all members of this type, see CustomAlert members.

 public class CustomAlert

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

Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)