共用方式為


3.1.4.3 IEventClass2

The IEventClass2 interface provides additional methods that are used by the client to manipulate event class properties on the server. This interface inherits opnums 0 through 20 from IEventClass as specified in section 3.1.4.2. The version for this interface is 0.0.

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 {fb2b72a1-7a68-11d1-88f9-0080c7d771bf} for this interface.

This interface includes the following methods beyond those in IEventClass.

Methods in RPC Opnum Order

Method

Description

get_PublisherID

Gets the PublisherID property of the event class.

Opnum: 21

put_PublisherID

Sets the PublisherID property of the event class.

Opnum: 22

get_MultiInterfacePublisherFilterCLSID

Gets the MultiInterfacePublisherFilterCLSID property of the event class.

Opnum: 23

put_MultiInterfacePublisherFilterCLSID

Sets the MultiInterfacePublisherFilterCLSID property of the event class.

Opnum: 24

get_AllowInprocActivation

Gets the AllowInprocActivation property of the event class.

Opnum: 25

put_AllowInprocActivation

Sets the AllowInprocActivation property of the event class.

Opnum: 26

get_FireInParallel

Gets the FireInParallel property of the event class.

Opnum: 27

put_FireInParallel

Sets the FireInParallel property of the event class.

Opnum: 28