DefaultGrainActivator.DisposeInstance(IGrainContext, Object) 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.
Disposes the provided grain instance which is associated with the provided grain context.
public System.Threading.Tasks.ValueTask DisposeInstance (Orleans.Runtime.IGrainContext context, object instance);
abstract member DisposeInstance : Orleans.Runtime.IGrainContext * obj -> System.Threading.Tasks.ValueTask
override this.DisposeInstance : Orleans.Runtime.IGrainContext * obj -> System.Threading.Tasks.ValueTask
Public Function DisposeInstance (context As IGrainContext, instance As Object) As ValueTask
Parameters
- context
- IGrainContext
The grain context.
- instance
- Object
The grain instance.
Returns
A ValueTask representing the work performed.