JournaledGrain<TGrainState,TEventBase>.ILogConsistentGrain.InstallAdaptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
构造粒度后立即调用,以安装适配器。 日志一致性提供程序包含一个工厂方法,该方法使用为此粒度选择的类型构造适配器
void ILogConsistentGrain.InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object initialState, string graintypename, Orleans.Storage.IStorageProvider storageProvider, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member Orleans.LogConsistency.ILogConsistentGrain.InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
override this.Orleans.LogConsistency.ILogConsistentGrain.InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IStorageProvider * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Sub InstallAdaptor (factory As ILogViewAdaptorFactory, initialState As Object, graintypename As String, storageProvider As IStorageProvider, services As ILogConsistencyProtocolServices) Implements ILogConsistentGrain.InstallAdaptor
参数
- factory
- ILogViewAdaptorFactory
- initialState
- Object
- graintypename
- String
- storageProvider
- IStorageProvider
- services
- ILogConsistencyProtocolServices