TaskEventDefinitionType Complex Type
Makale 03/09/2021
3 katılımcı
Geri Bildirim
Bu makalede
[Beginning with the message compiler that ships with the Windows 7 version of the Windows SDK, the TaskEventDefinitionType complex type is no longer available. Instead use task-specific opcodes to provide the same functionality.]
Defines a task-specific event that your provider can log.
<xs:complexType name="TaskEventDefinitionType">
<xs:sequence>
<xs:element name="opcode"
maxOccurs="unbounded"
>
<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>
</xs:sequence>
<xs:attribute name="name"
type="anyURI"
use="required"
/>
<xs:anyAttribute
processContents="lax"
namespace="##other"
/>
</xs:complexType>
Child elements
Element
Type
Description
event
EventDefinitionType
A task-specific event published with a task.
opcode
A task-specific opcode that for an event.
Attributes
Name
Type
Description
name
QName
The name of the task-specific opcode.
name
anyURI
The name of the task.
Requirements
Requirement
Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]