Düzenle

Aracılığıyla paylaş


opcode (TaskEventDefinitionType) Element

[Beginning with the message compiler that ships with the Windows 7 version of the Windows SDK, this element is no longer available.]

Contains a task-specific opcode for an event. All of the opcode definitions are assumed to be task-specific for the task that contains the event definitions.

<xs:element name="opcode">
    <xs:complexType>
        <xs:sequence>
            <xs:element name="event"
                type="EventDefinitionType"
                maxOccurs="unbounded"
             />
        </xs:sequence>
        <xs:attribute name="name"
            type="QName"
            use="required"
         />
    </xs:complexType>
</xs:element>

The opcode element is defined by the TaskEventDefinitionType complex type.

Child elements

Element Type Description
event EventDefinitionType An event that is published with a task.

Attributes

Name Type Description
name QName The name of the task-specific opcode.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]

See also

Parent element

task (DefinitionType)