This documentation is archived and is not being maintained.

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, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: