Modifier

Partager via


ClientRuntime.ChannelInitializers Property

Definition

Gets a collection of channel initializer objects used to customize the channel associated with a client.

public:
 property System::Collections::Generic::SynchronizedCollection<System::ServiceModel::Dispatcher::IChannelInitializer ^> ^ ChannelInitializers { System::Collections::Generic::SynchronizedCollection<System::ServiceModel::Dispatcher::IChannelInitializer ^> ^ get(); };
public System.Collections.Generic.SynchronizedCollection<System.ServiceModel.Dispatcher.IChannelInitializer> ChannelInitializers { get; }
member this.ChannelInitializers : System.Collections.Generic.SynchronizedCollection<System.ServiceModel.Dispatcher.IChannelInitializer>
Public ReadOnly Property ChannelInitializers As SynchronizedCollection(Of IChannelInitializer)

Property Value

A collection of IChannelInitializer implementations.

Remarks

Use the ChannelInitializers property to add a custom IChannelInitializer object that can inspect the channel that is associated with a client on creation, register for events on the channel, and associate state with the channel by using IExtension<T>.

Applies to