IChannelInitializer Interface

Defines the interface to notify a service or client when a channel is created.

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

public interface IChannelInitializer

The IChannelInitializer type exposes the following members.

  NameDescription
Public methodInitializeInitializes the IChannelInitializer class with a specified IClientChannel.
Top

Defines the interface used to inspect and add state to channels when they are first created. This can be used to track all outstanding sessions, for instance, so the service can send messages on them. Add service channel initializers to the ChannelDispatcher.ChannelInitializers collection. Add client channel initializers to the ClientRuntime.ChannelInitializers collection.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft