GrainCallFilterExtensions.AddOutgoingGrainCallFilter 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddOutgoingGrainCallFilter(ISiloBuilder, IOutgoingGrainCallFilter)
IOutgoingGrainCallFilter將 加入至篩選管線。
public static Orleans.Hosting.ISiloBuilder AddOutgoingGrainCallFilter (this Orleans.Hosting.ISiloBuilder builder, Orleans.IOutgoingGrainCallFilter filter);
static member AddOutgoingGrainCallFilter : Orleans.Hosting.ISiloBuilder * Orleans.IOutgoingGrainCallFilter -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddOutgoingGrainCallFilter (builder As ISiloBuilder, filter As IOutgoingGrainCallFilter) As ISiloBuilder
參數
- builder
- ISiloBuilder
產生器。
- filter
- IOutgoingGrainCallFilter
篩選器。
適用於
AddOutgoingGrainCallFilter(ISiloBuilder, OutgoingGrainCallFilterDelegate)
IOutgoingGrainCallFilter透過委派將 加入至篩選管線。
public static Orleans.Hosting.ISiloBuilder AddOutgoingGrainCallFilter (this Orleans.Hosting.ISiloBuilder builder, Orleans.OutgoingGrainCallFilterDelegate filter);
static member AddOutgoingGrainCallFilter : Orleans.Hosting.ISiloBuilder * Orleans.OutgoingGrainCallFilterDelegate -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddOutgoingGrainCallFilter (builder As ISiloBuilder, filter As OutgoingGrainCallFilterDelegate) As ISiloBuilder
參數
- builder
- ISiloBuilder
產生器。
篩選器。
適用於
AddOutgoingGrainCallFilter<TImplementation>(ISiloBuilder)
IOutgoingGrainCallFilter將 加入至篩選管線。
public static Orleans.Hosting.ISiloBuilder AddOutgoingGrainCallFilter<TImplementation> (this Orleans.Hosting.ISiloBuilder builder) where TImplementation : class, Orleans.IOutgoingGrainCallFilter;
static member AddOutgoingGrainCallFilter : Orleans.Hosting.ISiloBuilder -> Orleans.Hosting.ISiloBuilder (requires 'Implementation : null and 'Implementation :> Orleans.IOutgoingGrainCallFilter)
<Extension()>
Public Function AddOutgoingGrainCallFilter(Of TImplementation As {Class, IOutgoingGrainCallFilter}) (builder As ISiloBuilder) As ISiloBuilder
類型參數
- TImplementation
篩選實作類型。
參數
- builder
- ISiloBuilder
產生器。