IGrainLocator.Unregister(GrainAddress, UnregistrationCause) 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.
Deregisters a grain address from the directory.
public System.Threading.Tasks.Task Unregister (Orleans.Runtime.GrainAddress address, Orleans.GrainDirectory.UnregistrationCause cause);
abstract member Unregister : Orleans.Runtime.GrainAddress * Orleans.GrainDirectory.UnregistrationCause -> System.Threading.Tasks.Task
Public Function Unregister (address As GrainAddress, cause As UnregistrationCause) As Task
Parameters
- address
- GrainAddress
The address to deregister.
- cause
- UnregistrationCause
The cause for deregistration.
Returns
A Task representing the work performed.