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