[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Completely 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)

Syntax

                 
  C#     Visual Basic     Visual C++  
[
SerializableAttribute]
public 
sealed 
class 
AdhocStatusMessage : 

SmsStatusMessage
<
SerializableAttribute> _
Public 
NotInheritable 
Class 
AdhocStatusMessage _
	
Inherits 

SmsStatusMessage
[
SerializableAttribute]
public 
ref class 
AdhocStatusMessage 
sealed : 
public 

SmsStatusMessage

Members

                       
  All Members     Constructors      Properties      Methods   
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

  Member Description
AdhocStatusMessage () () () ()
ClientId
Client ID of the client sending the status message
(Inherited from CcmEvent.)
DateTime
Gets/sets the time for the status message. Defaults to Now.

This needs to be set to a SmsTime-style format, not a DateTime format or else serialization on the MP will fail.

(Inherited from CcmEvent.)
Equals(Object) (Inherited from Object.)
EventId
Event ID for the message
(Inherited from CcmEvent.)
Finalize () () () () (Inherited from Object.)
GetHashCode () () () () (Inherited from Object.)
GetType () () () () (Inherited from Object.)
MachineName
NetBIOS name of the machine sending the message
(Inherited from SmsStatusMessage.)
MemberwiseClone () () () () (Inherited from Object.)
ProcessId
Gets/sets the ProcessID for the message. Defaults to the current process' ID.
(Inherited from CcmEvent.)
SetMessageType(String)
Sets the message type for the message (such as SoftDistDownloadFailEvent). This must be set.
SetSeverity(StatusEventSeverity)
Sets the severity for the message. Defaults to Invalid, which won't work. So set this!
Severity
The status message severity. There is no setter for this. Use SetSeverity to set this.
(Overrides CcmEvent . . :: . . Severity.)
SiteCode
Assigned site for the message
(Inherited from SmsStatusMessage.)
StatusMessageType
The status message type. There is no setter for this. Use SetMessageType to set this.
(Overrides SmsStatusMessage . . :: . . StatusMessageType.)
Synchronizer
Thread-safe synchronization object
(Inherited from CcmEvent.)
ThreadId
Gets/sets the ThreadID for the message. Default to the current process' thread ID.
(Inherited from CcmEvent.)
TopLevelSiteCode
Central site. If unset, will use whatever is set for SiteCode.
(Inherited from SmsStatusMessage.)
ToString () () () () (Inherited from Object.)
Win32ErrorCode
Win32 error code to associate with status message
(Inherited from SmsStatusMessage.)

Inheritance Hierarchy

See Also