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
產生器。
傳回
產生器。