IGrainDirectoryCache.Remove 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
Remove(GrainAddress) |
Removes an entry from the cache given its key |
Remove(GrainId) |
Removes an entry from the cache given its key |
Remove(GrainAddress)
Removes an entry from the cache given its key
public bool Remove (Orleans.Runtime.GrainAddress key);
abstract member Remove : Orleans.Runtime.GrainAddress -> bool
Public Function Remove (key As GrainAddress) As Boolean
Parameters
- key
- GrainAddress
key to remove
Returns
True if the entry was in the cache and the removal was successful
Applies to
Remove(GrainId)
Removes an entry from the cache given its key
public bool Remove (Orleans.Runtime.GrainId key);
abstract member Remove : Orleans.Runtime.GrainId -> bool
Public Function Remove (key As GrainId) As Boolean
Parameters
- key
- GrainId
key to remove
Returns
True if the entry was in the cache and the removal was successful