LogConsistentGrain<TView>.InstallAdaptor 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在粮食构造后调用右以安装日志视图适配器
protected abstract void InstallAdaptor (Orleans.LogConsistency.ILogViewAdaptorFactory factory, object state, string grainTypeName, Orleans.Storage.IGrainStorage grainStorage, Orleans.LogConsistency.ILogConsistencyProtocolServices services);
abstract member InstallAdaptor : Orleans.LogConsistency.ILogViewAdaptorFactory * obj * string * Orleans.Storage.IGrainStorage * Orleans.LogConsistency.ILogConsistencyProtocolServices -> unit
Protected MustOverride Sub InstallAdaptor (factory As ILogViewAdaptorFactory, state As Object, grainTypeName As String, grainStorage As IGrainStorage, services As ILogConsistencyProtocolServices)
参数
- factory
- ILogViewAdaptorFactory
要使用的适配器工厂
- state
- Object
视图的初始状态
- grainTypeName
- String
粒度的类型名称
- grainStorage
- IGrainStorage
粮食存储(如果需要)
- services
- ILogConsistencyProtocolServices
协议服务