PlacementTarget 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PlacementTarget(IGrainIdentity, Int32, UInt16)
public PlacementTarget (Orleans.Core.IGrainIdentity grainIdentity, int interfaceId, ushort interfaceVersion);
new Orleans.Runtime.Placement.PlacementTarget : Orleans.Core.IGrainIdentity * int * uint16 -> Orleans.Runtime.Placement.PlacementTarget
Public Sub New (grainIdentity As IGrainIdentity, interfaceId As Integer, interfaceVersion As UShort)
参数
- grainIdentity
- IGrainIdentity
- interfaceId
- Int32
- interfaceVersion
- UInt16
适用于
PlacementTarget(IGrainIdentity, Dictionary<String,Object>, Int32, UInt16)
- Source:
- PlacementTarget.cs
public PlacementTarget (Orleans.Core.IGrainIdentity grainIdentity, System.Collections.Generic.Dictionary<string,object> requestContextData, int interfaceId, ushort interfaceVersion);
new Orleans.Runtime.Placement.PlacementTarget : Orleans.Core.IGrainIdentity * System.Collections.Generic.Dictionary<string, obj> * int * uint16 -> Orleans.Runtime.Placement.PlacementTarget
Public Sub New (grainIdentity As IGrainIdentity, requestContextData As Dictionary(Of String, Object), interfaceId As Integer, interfaceVersion As UShort)
参数
- grainIdentity
- IGrainIdentity
- requestContextData
- Dictionary<String,Object>
- interfaceId
- Int32
- interfaceVersion
- UInt16
适用于
PlacementTarget(GrainId, Dictionary<String,Object>, GrainInterfaceType, UInt16)
初始化 PlacementTarget 结构的新实例。
public PlacementTarget (Orleans.Runtime.GrainId grainIdentity, System.Collections.Generic.Dictionary<string,object> requestContextData, Orleans.Runtime.GrainInterfaceType interfaceType, ushort interfaceVersion);
new Orleans.Runtime.Placement.PlacementTarget : Orleans.Runtime.GrainId * System.Collections.Generic.Dictionary<string, obj> * Orleans.Runtime.GrainInterfaceType * uint16 -> Orleans.Runtime.Placement.PlacementTarget
Public Sub New (grainIdentity As GrainId, requestContextData As Dictionary(Of String, Object), interfaceType As GrainInterfaceType, interfaceVersion As UShort)
参数
- grainIdentity
- GrainId
目标粒度。
- requestContextData
- Dictionary<String,Object>
RequestContext触发放置的请求的字典。
- interfaceType
- GrainInterfaceType
正在请求的接口。
- interfaceVersion
- UInt16
正在请求的接口版本。