共用方式為


3.1.4.7 IEventClass3

The IEventClass3 interface provides additional methods that are used by the client to manipulate an event class on the server. This interface inherits opnums 0 through 28 from the IEventClass2 interface, as specified in section 3.1.4.3. The version for this interface is 0.0.

The server SHOULD support this interface.<13> To receive incoming remote calls for this interface, the server MUST implement a DCOM object class with the class ID CLSID_EventClass (see section 1.9) using the UUID {7FB7EA43-2D76-4ea8-8CD9-3DECC270295E} for this interface.

The interface contains the following methods beyond the ones that are defined for IEventClass2.

Methods in RPC Opnum Order

Method

Description

get_EventClassPartitionID

Gets the EventClassPartitionID property of the event class.

Opnum: 29

put_EventClassPartitionID

Sets the EventClassPartitionID property of the event class.

Opnum: 30

get_EventClassApplicationID

Gets the EventClassApplicationID property of the event class.

Opnum: 31

put_EventClassApplicationID

Has no effect.

Opnum: 32