Edit

Share via


IPlacementDirector.GetPlacementHint Method

Definition

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.

Applies to