CcmEvent Class
Represents a status message. Properties are derived from CCM_Event class. Many status messages inherit from SMS_Event. See the SmsEvent class in the dedicated StatusMessages DLL.
Namespace: Microsoft.ConfigurationManagement.Messaging.StatusMessages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Inheritance Hierarchy
System.Object
Microsoft.ConfigurationManagement.Messaging.StatusMessages.CcmEvent
Microsoft.ConfigurationManagement.Messaging.StatusMessages.CcmFrameworkEvent
Microsoft.ConfigurationManagement.Messaging.StatusMessages.CcmHttpStatus
Microsoft.ConfigurationManagement.Messaging.StatusMessages.SmsEvent
Microsoft.ConfigurationManagement.Messaging.StatusMessages.StatusMessageGenerator
Syntax
[SerializableAttribute]
public class CcmEvent
[SerializableAttribute]
public ref class CcmEvent
<SerializableAttribute>
Public Class CcmEvent
Constructors
Name | Description | |
---|---|---|
CcmEvent() | Initializes a new instance of the CcmEvent class. |
Properties
Name | Description | |
---|---|---|
ClientId | Gets or sets the client ID of the client sending the status message. |
|
DateTime | Gets or sets the time for the status message. The default value is Now. This value needs to be set to a SmsTime-style format, not a DateTime format, or serialization on the management point will fail. |
|
EventId | Gets or sets the NT event ID for the message. |
|
ProcessId | Gets or sets the ProcessID for the message. The default value is the ID for the current process. |
|
Severity | Gets the severity of the status event. Important: If you are inheriting from ConfigMgrStatusMessageBase, you must override this property. |
|
StatusMessageType | Gets the status message type. This property must be overloaded by any class inheriting from ConfigMgrStatusMessageBase. Important: If you are inheriting from ConfigMgrStatusMessageBase, you must override this property. |
|
Synchronizer | Gets the thread-safe synchronization object. |
|
ThreadId | Gets or sets the ThreadID for the message. The default value is the thread ID for the current process. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
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.ConfigurationManagement.Messaging.StatusMessages Namespace
Return to top