MemoryMessageBody 构造函数

定义

初始化 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>

发送此消息的上下文

适用于