CcmHttpStatus Class

 

Represents an event that denotes that a certain HTTP status was sent. This can be a success or failure.

Note: This breaks the rules for severity, therefore, if you don't want the severity of this message to be Informational, you must use SetSeverity() to change it.

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

System::Object
  Microsoft.ConfigurationManagement.Messaging.StatusMessages::CcmEvent
    Microsoft.ConfigurationManagement.Messaging.StatusMessages::CcmHttpStatus

[SerializableAttribute]
public ref class CcmHttpStatus sealed : CcmEvent

NameDescription
System_CAPS_pubmethodCcmHttpStatus()

Initializes a new instance of the CcmHttpStatus 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_pubpropertyHostName

Gets or sets the destination host name that generated the message.

System_CAPS_pubpropertyHResult

Gets or sets the HRESULT for the associated status.

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 severity. This status message breaks the rules about severity. Use SetSeverity() to set this on a per-instance basis. The default severity is Informational. (Overrides CcmEvent::Severity.)

System_CAPS_pubpropertyStatusCode

Gets or sets the HTTP status code.

System_CAPS_pubpropertyStatusMessageType

Gets the status message event type. (Overrides CcmEvent::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.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSetSeverity(StatusEventSeverity)

Changes the severity of an event message. If the HTTP status event is an error, use this method to change its status.

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: