MemoryMessageBody 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 MemoryMessageBody 類別的新執行個體。
public MemoryMessageBody (System.Collections.Generic.IEnumerable<object> events, System.Collections.Generic.Dictionary<string,object> contex);
public MemoryMessageBody (System.Collections.Generic.IEnumerable<object> events, System.Collections.Generic.Dictionary<string,object> requestContext);
new Orleans.Providers.MemoryMessageBody : seq<obj> * System.Collections.Generic.Dictionary<string, obj> -> Orleans.Providers.MemoryMessageBody
new Orleans.Providers.MemoryMessageBody : seq<obj> * System.Collections.Generic.Dictionary<string, obj> -> Orleans.Providers.MemoryMessageBody
Public Sub New (events As IEnumerable(Of Object), contex As Dictionary(Of String, Object))
Public Sub New (events As IEnumerable(Of Object), requestContext As Dictionary(Of String, Object))
參數
- events
- IEnumerable<Object>
屬於此訊息一部分的事件。
- contexrequestContext
- Dictionary<String,Object>
傳送此訊息的內容