共用方式為


PublisherEvent interface

即將發行之事件的包裝函式

屬性

diagnostics

新增索引鍵/值組,這些索引鍵/值組將與已發佈的通知一起儲存在 SH 服務資料庫中。 此索引鍵/值組僅用於診斷目的,不會影響通知的傳遞。

event

正在發布的事件

isFilteredEvent

取得或設定已篩選事件的旗標

notificationData

需要作為通知的一部分傳送的其他資料,以補充事件中的資源資料

otherResourceVersions

取得或設定較舊支援資源版本的陣列。

publisherInputFilters

選擇性的發行者輸入篩選器,可限制事件所觸發的訂閱集

subscription

取得或設定導致此事件的相符勾點訂用帳戶。

屬性詳細資料

diagnostics

新增索引鍵/值組,這些索引鍵/值組將與已發佈的通知一起儲存在 SH 服務資料庫中。 此索引鍵/值組僅用於診斷目的,不會影響通知的傳遞。

diagnostics: {[key: string]: string}

屬性值

{[key: string]: string}

event

正在發布的事件

event: Event

屬性值

isFilteredEvent

取得或設定已篩選事件的旗標

isFilteredEvent: boolean

屬性值

boolean

notificationData

需要作為通知的一部分傳送的其他資料,以補充事件中的資源資料

notificationData: {[key: string]: string}

屬性值

{[key: string]: string}

otherResourceVersions

取得或設定較舊支援資源版本的陣列。

otherResourceVersions: VersionedResource[]

屬性值

publisherInputFilters

選擇性的發行者輸入篩選器,可限制事件所觸發的訂閱集

publisherInputFilters: InputFilter[]

屬性值

subscription

取得或設定導致此事件的相符勾點訂用帳戶。

subscription: Subscription

屬性值