ILogConsistentGrain.InstallAdaptor 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.
called right after grain construction to install the log view adaptor
public void InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object state, string grainTypeName, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Public Sub InstallAdaptor (factory As ILogViewAdaptorFactory, state As Object, grainTypeName As String, storageProvider As IStorageProvider, services As ILogConsistencyProtocolServices)
Parameters
- factory
- ILogViewAdaptorFactory
The adaptor factory to use
- state
- Object
The initial state of the view
- grainTypeName
- String
The type name of the grain
- storageProvider
- IStorageProvider
The storage provider, if needed
- services
- ILogConsistencyProtocolServices
Protocol services