GrainCallFilterExtensions.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)
IOutgoingGrainCallFilter透過委派將 加入至篩選管線。
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
產生器。