Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ClientRuntime::ChannelInitializers Property

 

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

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property SynchronizedCollection<IChannelInitializer^>^ ChannelInitializers {
	SynchronizedCollection<IChannelInitializer^>^ get();
}

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>.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft