Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PlacementTarget Struct

Definition

Namespace:
Orleans.Runtime.Placement
Assembly:
Orleans.dll
Assembly:
Orleans.Core.dll
Package:
Microsoft.Orleans.Core v1.5.10
Package:
Microsoft.Orleans.Core v10.0.0
Package:
Microsoft.Orleans.Core v2.4.5
Package:
Microsoft.Orleans.Core v3.6.5
Package:
Microsoft.Orleans.Core v7.2.5
Package:
Microsoft.Orleans.Core v8.0.0
Package:
Microsoft.Orleans.Core v8.1.0
Package:
Microsoft.Orleans.Core v8.2.0
Package:
Microsoft.Orleans.Core v9.0.0
Package:
Microsoft.Orleans.Core v9.1.2
Source:
PlacementTarget.cs

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.

Describes a placement target, which is a grain as well as context regarding the request which is triggering grain placement.

public struct PlacementTarget
public readonly struct PlacementTarget
type PlacementTarget = struct
Public Structure PlacementTarget
Inheritance
PlacementTarget

Constructors

Name Description
PlacementTarget(GrainId, Dictionary<String,Object>, GrainInterfaceType, UInt16)

Initializes a new instance of the PlacementTarget struct.

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

Properties

Name Description
GrainIdentity

Gets the grain being targeted.

InterfaceId
InterfaceType

Gets the interface type of the interface which is being called on the grain which triggered this placement request.

InterfaceVersion

Gets the interface version being requested.

IsClient
RequestContextData

Gets the RequestContext dictionary for the request which triggered placement.

Applies to