共用方式為


IPlacementDirector.GetPlacementHint 方法

定義

如果存在且有效,請從提供的要求內容數據取得放置提示。

public static Orleans.Runtime.SiloAddress GetPlacementHint (System.Collections.Generic.Dictionary<string,object> requestContextData, Orleans.Runtime.SiloAddress[] compatibleSilos);
static member GetPlacementHint : System.Collections.Generic.Dictionary<string, obj> * Orleans.Runtime.SiloAddress[] -> Orleans.Runtime.SiloAddress
Public Shared Function GetPlacementHint (requestContextData As Dictionary(Of String, Object), compatibleSilos As SiloAddress()) As SiloAddress

參數

requestContextData
Dictionary<String,Object>

要求內容數據。

compatibleSilos
SiloAddress[]

相容的尋址接收器。

傳回

如果存在且有效,則為放置提示, 否則為 。

適用於