Edit

Share via


DefaultGrainActivator.CreateInstance(IGrainContext) Method

Definition

Returns a new grain instance for the provided grain context.

public object CreateInstance (Orleans.Runtime.IGrainContext context);
abstract member CreateInstance : Orleans.Runtime.IGrainContext -> obj
override this.CreateInstance : Orleans.Runtime.IGrainContext -> obj
Public Function CreateInstance (context As IGrainContext) As Object

Parameters

context
IGrainContext

The grain context.

Returns

The grain instance.

Implements

Applies to