EventHubMessage 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
EventHubMessage(CachedMessage, SerializationManager) |
EventHub 的 EventData 類別重複。 |
EventHubMessage(CachedEventHubMessage, SerializationManager) |
EventHub 的 EventData 類別重複。 |
EventHubMessage(IStreamIdentity, String, String, Int64, DateTime, DateTime, IDictionary<String,Object>, Byte[]) |
建構函式 |
EventHubMessage(CachedMessage, SerializationManager)
EventHub 的 EventData 類別重複。
public EventHubMessage (Orleans.Providers.Streams.Common.CachedMessage cachedMessage, Orleans.Serialization.SerializationManager serializationManager);
new Orleans.ServiceBus.Providers.EventHubMessage : Orleans.Providers.Streams.Common.CachedMessage * Orleans.Serialization.SerializationManager -> Orleans.ServiceBus.Providers.EventHubMessage
Public Sub New (cachedMessage As CachedMessage, serializationManager As SerializationManager)
參數
- cachedMessage
- CachedMessage
- serializationManager
- SerializationManager
適用於
EventHubMessage(CachedEventHubMessage, SerializationManager)
EventHub 的 EventData 類別重複。
public EventHubMessage (Orleans.ServiceBus.Providers.CachedEventHubMessage cachedMessage, Orleans.Serialization.SerializationManager serializationManager);
new Orleans.ServiceBus.Providers.EventHubMessage : Orleans.ServiceBus.Providers.CachedEventHubMessage * Orleans.Serialization.SerializationManager -> Orleans.ServiceBus.Providers.EventHubMessage
Public Sub New (cachedMessage As CachedEventHubMessage, serializationManager As SerializationManager)
參數
- cachedMessage
- CachedEventHubMessage
- serializationManager
- SerializationManager
適用於
EventHubMessage(IStreamIdentity, String, String, Int64, DateTime, DateTime, IDictionary<String,Object>, Byte[])
建構函式
public EventHubMessage (Orleans.Streams.IStreamIdentity streamIdentity, string partitionKey, string offset, long sequenceNumber, DateTime enqueueTimeUtc, DateTime dequeueTimeUtc, System.Collections.Generic.IDictionary<string,object> properties, byte[] payload);
new Orleans.ServiceBus.Providers.EventHubMessage : Orleans.Streams.IStreamIdentity * string * string * int64 * DateTime * DateTime * System.Collections.Generic.IDictionary<string, obj> * byte[] -> Orleans.ServiceBus.Providers.EventHubMessage
Public Sub New (streamIdentity As IStreamIdentity, partitionKey As String, offset As String, sequenceNumber As Long, enqueueTimeUtc As DateTime, dequeueTimeUtc As DateTime, properties As IDictionary(Of String, Object), payload As Byte())
參數
- streamIdentity
- IStreamIdentity
串流識別
- partitionKey
- String
訊息的 EventHub 分割區索引鍵
- offset
- String
位移至此訊息的來源 EventHub 剖析
- sequenceNumber
- Int64
位移至此訊息的來源 EventHub 剖析
- enqueueTimeUtc
- DateTime
EventHub 插入此訊息的 UTC 時間
- dequeueTimeUtc
- DateTime
從 EventHub 讀取此訊息到目前服務的 UTC 時間
- properties
- IDictionary<String,Object>
來自 EventData 物件的使用者屬性
- payload
- Byte[]
EventData objbect 的二進位資料