IGrainLocator.Register(GrainAddress, GrainAddress) 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.
Registers the provided address in the appropriate grain directory.
public System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress> Register (Orleans.Runtime.GrainAddress address, Orleans.Runtime.GrainAddress? previousRegistration);
abstract member Register : Orleans.Runtime.GrainAddress * Orleans.Runtime.GrainAddress -> System.Threading.Tasks.Task<Orleans.Runtime.GrainAddress>
Public Function Register (address As GrainAddress, previousRegistration As GrainAddress) As Task(Of GrainAddress)
Parameters
- address
- GrainAddress
The address to register.
- previousRegistration
- GrainAddress
Returns
The grain address which is registered in the directory immediately following this call.