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>
发送此消息的上下文