2.2.4.47 InteractiveEventType Complex Type
The InteractiveEvent type MUST adhere to the namespace "http://schemas.microsoft.com/wbem/wsman/1/cim/interactive.xsd". The schema MUST be as follows.
-
<xs:complexType name="InteractiveEventType"> <xs:sequence> <xs:element name="EventType" type="EventType_Type"/> <xs:element name="Description" type="InteractiveEventComplexType" minOccurs="0"/> <xs:element name="Activity" type="xs:string" minOccurs="0"/> <xs:element name="CurrentOperation" type="xs:string" minOccurs="0"/> <xs:element name="StatusDescription" type="xs:string" minOccurs="0"/> <xs:element name="PercentComplete" type="xs:unsignedInt" minOccurs="0"/> <xs:element name="SecondsRemaining" type="xs:unsignedInt" minOccurs="0"/> <xs:element name="ActionType" type="ActionType_Type" minOccurs="0"/> <xs:element name="PromptType" type="PromptType_Type" minOccurs="0"/> <xs:element name="Name" type="xs:string" minOccurs="0"/> <xs:element name="Type" type="Type_Type" minOccurs="0"/> <xs:element name="Value" type="InteractiveEventComplexType" minOccurs="0"/> </xs:sequence> <xs:anyAttribute process_contents="lax" namespace="##any" /></xs:complexType>
Elements:
EventType: Describes the type of the interactive event. The remainder of the content of this type depends on the value of EventType.
If EventType is set to Verbose, Debug, or Warning, the Description element MUST be present and contain a human-readable string to be displayed to the user. All other elements SHOULD be omitted.
If EventType is set to Progress, the Activity, CurrentOperation, StatusDescription, PercentComplete, and SecondsRemaining elements MUST be present. All other elements SHOULD be omitted.
If EventType is set to ErrorAction, the Description and ActionType elements MUST be present. All other elements SHOULD be omitted. The Description element MUST contain a sub-element which is the XML encoding of a CIM Error object as described in [DMTF-DSP0230].
If EventType is set to Confirm, the Description and Prompt elements MUST be present. All other elements SHOULD be omitted. The Description element MUST contain a human-readable description of the action to be confirmed.
If EventType is set to StreamingOutput, the Name, Type, and Value elements SHOULD be present.
Description: A string, either in human-readable or XML format, depending on the value of the EventType element.
Activity: Describes the activity in progress. For more information, see [MS-PSRP] (section 2.2.5.1.25).
CurrentOperation: Describes the current operation being executed by the provider. For more information, see [MS-PSRP] (section 2.2.5.1.25).
StatusDescription: Describes the status of the activity. For more information, see [MS-PSRP] (section 2.2.5.1.25)
PercentComplete: The percentage completed for the activity. For more information, see [MS-PSRP] (section 2.2.5.1.25).
SecondsRemaining: The estimated number of seconds until the activity will complete. For more information, see [MS-PSRP] (section 2.2.5.1.25).
ActionType: The type of action associated with an Error or Confirm message.
PromptType: Describes the importance of the Confirm message, from the provider's perspective.
Name: The name of the streamed CIM/WMI property.
Type: The type of the streamed CIM/WMI property.
Value: The value of the streamed CIM/WMI property.