AdhocStatusMessage Class

 

Represents a free-form status message. To add properties and qualifiers, add them directly to the ConfigMgrStatusMessage class.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Messages
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)


[SerializableAttribute]
public ref class AdhocStatusMessage sealed : SmsStatusMessage

NameDescription
System_CAPS_pubmethodAdhocStatusMessage()

Initializes a new instance of the AdhocStatusMessage class.

NameDescription
System_CAPS_pubpropertyClientId

Gets or sets the client ID of the client sending the status message. (Inherited from CcmEvent.)

System_CAPS_pubpropertyDateTime

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. (Inherited from CcmEvent.)

System_CAPS_pubpropertyEventId

Gets or sets the NT event ID for the message. (Inherited from CcmEvent.)

System_CAPS_pubpropertyMachineName

Gets or sets the NetBIOS name of the machine that is sending the message. (Inherited from SmsStatusMessage.)

System_CAPS_pubpropertyProcessId

Gets or sets the ProcessID for the message. The default value is the ID for the current process. (Inherited from CcmEvent.)

System_CAPS_pubpropertySeverity

Gets the status message severity. To set the status message severity, use the SetSeverity method. (Overrides CcmEvent::Severity.)

System_CAPS_pubpropertySiteCode

Gets or sets the assigned site for the message. (Inherited from SmsStatusMessage.)

System_CAPS_pubpropertyStatusMessageType

Gets the status message type. To set the status message type, use the SetMessageType method. (Overrides SmsStatusMessage::StatusMessageType.)

System_CAPS_pubpropertyThreadId

Gets or sets the ThreadID for the message. The default value is the thread ID for the current process. (Inherited from CcmEvent.)

System_CAPS_pubpropertyTopLevelSiteCode

Gets or sets the central site. If you do not set this property, it will use the value that is set for SiteCode. (Inherited from SmsStatusMessage.)

System_CAPS_pubpropertyWin32ErrorCode

Gets or sets the Win32 error code to associate with the status message. (Inherited from SmsStatusMessage.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSetMessageType(String^)

Sets the message type for the message, such as SoftDistDownloadFailEvent. The message type must be set.

System_CAPS_pubmethodSetSeverity(StatusEventSeverity)

Sets the severity for the message. You must set the severity or the method will use the default value of Invalid, which will fail.

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top
Show: