MayInterleaveAttribute.Populate 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 grain 属性添加到 properties
。
public void Populate (IServiceProvider services, Type grainClass, Orleans.Runtime.GrainType grainType, System.Collections.Generic.Dictionary<string,string> properties);
abstract member Populate : IServiceProvider * Type * Orleans.Runtime.GrainType * System.Collections.Generic.Dictionary<string, string> -> unit
override this.Populate : IServiceProvider * Type * Orleans.Runtime.GrainType * System.Collections.Generic.Dictionary<string, string> -> unit
Public Sub Populate (services As IServiceProvider, grainClass As Type, grainType As GrainType, properties As Dictionary(Of String, String))
参数
- services
- IServiceProvider
服务提供程序。
- grainClass
- Type
grain 类。
- grainType
- GrainType
粒度类型 ID。
- properties
- Dictionary<String,String>
调用此方法的属性集合应填充。