Edit

Share via


IGrainDirectory.Register Method

Definition

Overloads

Register(GrainAddress)

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

Register(GrainAddress)

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

Register(GrainAddress, GrainAddress)

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

Register(GrainAddress)

Source:
IGrainDirectory.cs

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

public System.Threading.Tasks.Task<Orleans.GrainDirectory.GrainAddress> Register (Orleans.GrainDirectory.GrainAddress address);
abstract member Register : Orleans.GrainDirectory.GrainAddress -> System.Threading.Tasks.Task<Orleans.GrainDirectory.GrainAddress>
Public Function Register (address As GrainAddress) As Task(Of GrainAddress)

Parameters

address
GrainAddress

The GrainAddress to register

Returns

The GrainAddress that is effectively registered in the directory.

Applies to

Register(GrainAddress)

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

public System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress?> Register (Orleans.Runtime.GrainAddress address);
abstract member Register : Orleans.Runtime.GrainAddress -> System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress>
Public Function Register (address As GrainAddress) As Task(Of GrainAddress)

Parameters

address
GrainAddress

The GrainAddress to register

Returns

The GrainAddress that is effectively registered in the directory.

Applies to

Register(GrainAddress, GrainAddress)

Register a GrainAddress entry in the directory. Only one GrainAddress per GrainId can be registered. If there is already an existing entry, the directory will not override it.

public virtual System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress?> Register (Orleans.Runtime.GrainAddress address, Orleans.Runtime.GrainAddress? previousAddress);
abstract member Register : Orleans.Runtime.GrainAddress * Orleans.Runtime.GrainAddress -> System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress>
override this.Register : Orleans.Runtime.GrainAddress * Orleans.Runtime.GrainAddress -> System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress>
Public Overridable Function Register (address As GrainAddress, previousAddress As GrainAddress) As Task(Of GrainAddress)

Parameters

address
GrainAddress

The GrainAddress to register

previousAddress
GrainAddress

Returns

The GrainAddress that is effectively registered in the directory.

Applies to