IPlacementDirector.GetPlacementHint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the placement hint from the provided request context data, if present and valid.
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
Parameters
- requestContextData
- Dictionary<String,Object>
The request context data.
- compatibleSilos
- SiloAddress[]
The compatible silos.
Returns
The placement hint, if present and valid, or otherwise.