編輯

共用方式為


ServiceEvent interface

Properties

eventType

This is the id of the type. Constants that will be used by subscribers to identify/filter events being published on a topic.

publisher

This is the service that published this event.

resource

The resource object that carries specific information about the event. The object must have the ServiceEventObject applied for serialization/deserialization to work.

resourceContainers

This dictionary carries the context descriptors along with their ids.

resourceVersion

This is the version of the resource.

Property Details

eventType

This is the id of the type. Constants that will be used by subscribers to identify/filter events being published on a topic.

eventType: string

Property Value

string

publisher

This is the service that published this event.

publisher: Publisher

Property Value

resource

The resource object that carries specific information about the event. The object must have the ServiceEventObject applied for serialization/deserialization to work.

resource: any

Property Value

any

resourceContainers

This dictionary carries the context descriptors along with their ids.

resourceContainers: {[key: string]: any}

Property Value

{[key: string]: any}

resourceVersion

This is the version of the resource.

resourceVersion: string

Property Value

string