共用方式為


PlacementTarget 建構函式

定義

多載

PlacementTarget(IGrainIdentity, Int32, UInt16)
PlacementTarget(IGrainIdentity, Dictionary<String,Object>, Int32, UInt16)
PlacementTarget(GrainId, Dictionary<String,Object>, GrainInterfaceType, UInt16)

初始化 PlacementTarget 結構的新執行個體。

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)

來源:
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

要求的介面版本。

適用於