IGrainFactory Interface
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.
Functionality for creating references to grains.
public interface IGrainFactory
type IGrainFactory = interface
Public Interface IGrainFactory
- Derived
Methods
BindGrainReference(IAddressable) |
Binds the provided grain reference to this instance. |
CreateObjectReference<TGrainObserverInterface>(IGrainObserver) |
Creates a reference to the provided |
DeleteObjectReference<TGrainObserverInterface>(IGrainObserver) |
Deletes the provided object reference. |
GetGrain(GrainId, GrainInterfaceType) |
Returns a reference for the provided grain id which implements the specified interface type. |
GetGrain(GrainId) |
Returns an untyped reference for the provided grain id. |
GetGrain(Type, Guid, String) |
Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key. |
GetGrain(Type, Guid) |
Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key. |
GetGrain(Type, Int64, String) |
Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key. |
GetGrain(Type, Int64) |
Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key. |
GetGrain(Type, String) |
Returns a reference to the grain which is the primary implementation of the provided interface type and has the provided primary key. |
GetGrain<TGrainInterface>(GrainId) |
Returns a reference to the specified grain which implements the specified interface. |
GetGrain<TGrainInterface>(Guid, String, String) |
Gets a reference to a grain. |
GetGrain<TGrainInterface>(Guid, String) |
Gets a reference to a grain. |
GetGrain<TGrainInterface>(Int64, String, String) |
Gets a reference to a grain. |
GetGrain<TGrainInterface>(Int64, String) |
Gets a reference to a grain. |
GetGrain<TGrainInterface>(String, String) |
Gets a reference to a grain. |
GetGrain<TGrainInterface>(Type, Guid, String) |
A GetGrain overload that returns the runtime type of the grain interface and returns the grain cast to TGrainInterface. The main use-case is when you want to get a grain whose type is unknown at compile time (e.g. generic type parameters). |
GetGrain<TGrainInterface>(Type, Guid) |
A GetGrain overload that returns the runtime type of the grain interface and returns the grain cast to TGrainInterface. The main use-case is when you want to get a grain whose type is unknown at compile time (e.g. generic type parameters). |
GetGrain<TGrainInterface>(Type, Int64, String) |
A GetGrain overload that returns the runtime type of the grain interface and returns the grain cast to TGrainInterface. The main use-case is when you want to get a grain whose type is unknown at compile time (e.g. generic type parameters). |
GetGrain<TGrainInterface>(Type, Int64) |
A GetGrain overload that returns the runtime type of the grain interface and returns the grain cast to TGrainInterface. The main use-case is when you want to get a grain whose type is unknown at compile time (e.g. generic type parameters). |
GetGrain<TGrainInterface>(Type, String) |
A GetGrain overload that returns the runtime type of the grain interface and returns the grain cast to TGrainInterface. The main use-case is when you want to get a grain whose type is unknown at compile time (e.g. generic type parameters). |
Extension Methods
GetTransactionAttributionGrain(IGrainFactory, Guid, Nullable<TransactionOption>) |