ConfigMgrStatusMessage Class
Sends a status message to the management point.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Inheritance Hierarchy
System.Object
Microsoft.ConfigurationManagement.Messaging.Framework.Message
Microsoft.ConfigurationManagement.Messaging.Framework.AsynchronousMessage
Microsoft.ConfigurationManagement.Messaging.Messages.ConfigMgrStatusMessage
Syntax
[SerializableAttribute]
[MessageSupportAttribute(MessageSupportStatus.Supported)]
[MessageClassAttribute(MessageClassAttributeSetting.SigningRequired)]
public sealed class ConfigMgrStatusMessage : AsynchronousMessage
[SerializableAttribute]
[MessageSupportAttribute(MessageSupportStatus::Supported)]
[MessageClassAttribute(MessageClassAttributeSetting::SigningRequired)]
public ref class ConfigMgrStatusMessage sealed : AsynchronousMessage
<SerializableAttribute>
<MessageSupportAttribute(MessageSupportStatus.Supported)>
<MessageClassAttribute(MessageClassAttributeSetting.SigningRequired)>
Public NotInheritable Class ConfigMgrStatusMessage
Inherits AsynchronousMessage
Constructors
Name | Description | |
---|---|---|
ConfigMgrStatusMessage() | Initializes a new instance of the ConfigMgrStatusMessage class. |
Properties
Name | Description | |
---|---|---|
Attachments | Gets message attachments. (Inherited from Message.) |
|
Body | Gets the message body. This property should not be empty, with limited exceptions.(Inherited from Message.) |
|
InitializeOnParse | Gets or sets a value indicating whether this class re-initializes the in-memory status message every time a parse is done. If false, you must manually Initialize() or the internal status message will be appended. The default value is false. |
|
MessageId | Gets the internal ID of a message. (Inherited from Message.) |
|
Priority | Gets the priority for a message. This property is only used for reference by senders and has no effect on the message. (Inherited from Message.) |
|
SenderCallback | Gets a sender callback for a message. This property is null unless a message is in the process of being sent. (Inherited from Message.) |
|
SenderType | Gets the sender type for a message. This property is only used for reference by senders and has no effect on the message. (Inherited from Message.) |
|
Settings | Gets message settings. (Inherited from Message.) |
|
SiteCode | Gets or sets the site code to use for sending a message. Some messages require this property. (Inherited from Message.) |
|
SmsId | SMSID for the status request. (Overrides Message.SmsId.) |
|
StatusMessage | Gets or sets the status message sent to the management point. To set this from a CcmEvent derived type, use the ParseStatusMessage method. |
|
SupportsInlineSerializers | Gets a value that indicates whether Serialize() is called on send and DeserializeMessageBody is called on receive. The default setting for this property is true. Override to false with caution. (Inherited from Message.) |
Methods
Name | Description | |
---|---|---|
AddCertificateToMessage(MessageCertificateX509, CertificatePurposes) | Adds a certificate to the message. (Inherited from Message.) |
|
AddCertificateToMessage(MessageCertificateX509, CertificatePurposes, Boolean) | Adds a certificate to a message with the option to disable any intelligence. (Inherited from Message.) |
|
CloneBase() | Creates a clone of a message. Important: This method is not the same as nor does it behave the same as Clone. That is why this message type does not implement ICloneable. It is not recommended that any code outside of Messaging core code use this function without understanding how it works, what its limitations are, and why it's being used. Note: If you're considering this method, ensure that you have evaluated CloneByRef which you might want to use instead. (Inherited from Message.) |
|
CloneByRef(IMessage) | Clones a reference of a message. Use this method to create a copy of an existing message, especially one of a different type, into this message. Important: This method is not the same as nor does it behave the same as Clone. That is why this message type does not implement ICloneable. It is not recommended that any code outside of Messaging core code use this function without understanding how it works, what its limitations are, and why it's being used. (Inherited from Message.) |
|
CloneByRef(IMessage, MessageCloneOptions) | Clones a reference of a message. Use this method to create a copy of an existing message, especially one of a different type, into this message. Important: This method is not the same as nor does it behave the same as Clone. That is why this message type does not implement ICloneable. It is not recommended that any code outside of Messaging core code use this function without understanding how it works, what its limitations are, and why it's being used. (Inherited from Message.) |
|
DeserializeMessageBody() | Internal handler for deserializing a payload into its object format. This method should only be called by external code under exceptional circumstances. (Inherited from Message.) |
|
Discover() | Performs discovery, if supported by the message. (Inherited from Message.) |
|
Equals(Object) | (Inherited from Object.) |
|
GetCertificateFromMessage(CertificatePurposes) | Retrieves the X509-based certificate from a message. (Inherited from Message.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
Initialize() | Initializes the status message stored in memory for the instance of this class. If there is an existing status message in memory, it will not be overwritten unless you use this method or set InitializeOnParse to true. |
|
OnDeserialization(Object) | Ensures validity checks are never performed on deserialization. (Inherited from Message.) |
|
ParseStatusMessage(CcmEvent) | Builds the status properties and qualifiers for the message from a status message object. If you have already run ParseStatusMessage, running this method again will not delete the status memory stored in memory for this instance of this class. If this is not the action you want, you can Initialize() before ParseStatusMessage(...), or set InitializeOnParse to true. |
|
PostSendActions(IMessageSender, Boolean) | Actions that run after a message is sent. This is an asynchronous action; use with caution. (Inherited from Message.) |
|
PreSendActions() | Runs actions before the message is sent. This method is synchronous and blocking. (Overrides Message.PreSendActions().) |
|
SendMessage(IMessageSender) | Sends the message using the specified sender.(Inherited from AsynchronousMessage.) |
|
SerializeMessageBody() | Serializes the payload. (Overrides Message.SerializeMessageBody().) |
|
SimpleBodyDeserialization<T>() | Helper function that deserializes an object from the existing payload. (Inherited from Message.) |
|
SimpleBodyDeserialization<T>(DeserializationArguments) | Helper function that deserializes an object from the existing payload. (Inherited from Message.) |
|
SimpleObjectSerialization(Object) | Helper function that serializes an object to a payload. (Inherited from Message.) |
|
ToString() | (Inherited from Object.) |
|
Validate() | Obsolete. Validates that all required message settings are present and meet the requirements. If this method fails, the message will likely fail in being sent or processed by the site or management point. (Inherited from Message.) |
|
Validate(IMessageSender) | Validates that all required message settings are present and meet the requirements. If this validation fails, the message is almost certain to fail in being sent or processed by the site or management point. (Inherited from Message.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IMessage.SendMessage(IMessageSender) | Sends a message by using the specified sender. (Inherited from Message.) |
|
IMessageBase.Settings | Gets message properties and settings. (Inherited from Message.) |
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.Messages Namespace
Return to top