IGrainDirectory.Lookup 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.
Overloads
Lookup(GrainId) |
Lookup for a GrainAddress for a given Grain ID. |
Lookup(String) |
Lookup for a GrainAddress for a given Grain ID. |
Lookup(GrainId)
Lookup for a GrainAddress for a given Grain ID.
public System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress?> Lookup (Orleans.Runtime.GrainId grainId);
abstract member Lookup : Orleans.Runtime.GrainId -> System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress>
Public Function Lookup (grainId As GrainId) As Task(Of GrainAddress)
Parameters
- grainId
- GrainId
The Grain ID to lookup
Returns
The GrainAddress entry found in the directory, if any
Applies to
Lookup(String)
- Source:
- IGrainDirectory.cs
Lookup for a GrainAddress for a given Grain ID.
public System.Threading.Tasks.Task<Orleans.GrainDirectory.GrainAddress> Lookup (string grainId);
abstract member Lookup : string -> System.Threading.Tasks.Task<Orleans.GrainDirectory.GrainAddress>
Public Function Lookup (grainId As String) As Task(Of GrainAddress)
Parameters
- grainId
- String
The Grain ID to lookup
Returns
The GrainAddress entry found in the directory, if any