ServiceEvent interface
屬性
| event |
這是類型的 ID。 訂閱者將用來識別/篩選主題上發佈的事件的常數。 |
| publisher | 這是發佈此事件的服務。 |
| resource | 攜帶事件特定資訊的資源物件。 物件必須套用 ServiceEventObject 才能運作序列化/還原序列化。 |
| resource |
此字典包含內容描述元及其 ID。 |
| resource |
這是資源的版本。 |
屬性詳細資料
eventType
這是類型的 ID。 訂閱者將用來識別/篩選主題上發佈的事件的常數。
eventType: string
屬性值
string
publisher
resource
攜帶事件特定資訊的資源物件。 物件必須套用 ServiceEventObject 才能運作序列化/還原序列化。
resource: any
屬性值
any
resourceContainers
此字典包含內容描述元及其 ID。
resourceContainers: {[key: string]: any}
屬性值
{[key: string]: any}
resourceVersion
這是資源的版本。
resourceVersion: string
屬性值
string