Edytuj

Udostępnij za pośrednictwem


IGrainDirectory.Lookup Method

Definition

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

Applies to