GrainCallFilterSiloBuilderExtensions.AddIncomingGrainCallFilter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddIncomingGrainCallFilter(ISiloBuilder, IIncomingGrainCallFilter)
IIncomingGrainCallFilter将 添加到筛选器管道。
public static Orleans.Hosting.ISiloBuilder AddIncomingGrainCallFilter (this Orleans.Hosting.ISiloBuilder builder, Orleans.IIncomingGrainCallFilter filter);
static member AddIncomingGrainCallFilter : Orleans.Hosting.ISiloBuilder * Orleans.IIncomingGrainCallFilter -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddIncomingGrainCallFilter (builder As ISiloBuilder, filter As IIncomingGrainCallFilter) As ISiloBuilder
参数
- builder
- ISiloBuilder
生成器。
- filter
- IIncomingGrainCallFilter
筛选器。
返回
生成器。
适用于
AddIncomingGrainCallFilter(ISiloBuilder, IncomingGrainCallFilterDelegate)
IIncomingGrainCallFilter通过委托将 添加到筛选器管道。
public static Orleans.Hosting.ISiloBuilder AddIncomingGrainCallFilter (this Orleans.Hosting.ISiloBuilder builder, Orleans.IncomingGrainCallFilterDelegate filter);
static member AddIncomingGrainCallFilter : Orleans.Hosting.ISiloBuilder * Orleans.IncomingGrainCallFilterDelegate -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddIncomingGrainCallFilter (builder As ISiloBuilder, filter As IncomingGrainCallFilterDelegate) As ISiloBuilder
参数
- builder
- ISiloBuilder
生成器。
筛选器。
返回
生成器。
适用于
AddIncomingGrainCallFilter<TImplementation>(ISiloBuilder)
IIncomingGrainCallFilter将 添加到筛选器管道。
public static Orleans.Hosting.ISiloBuilder AddIncomingGrainCallFilter<TImplementation> (this Orleans.Hosting.ISiloBuilder builder) where TImplementation : class, Orleans.IIncomingGrainCallFilter;
static member AddIncomingGrainCallFilter : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder (requires 'Implementation : null and 'Implementation :> Orleans.IIncomingGrainCallFilter)
<Extension()>
Public Function AddIncomingGrainCallFilter(Of TImplementation As {Class, IIncomingGrainCallFilter}) (builder As ISiloBuilder) As ISiloBuilder
类型参数
- TImplementation
筛选器实现类型。
参数
- builder
- ISiloBuilder
生成器。
返回
生成器。