Edytuj

Udostępnij za pośrednictwem


IGrainActivator.DisposeInstance(IGrainContext, Object) Method

Definition

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
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.

Applies to