IChannelInitializer Interface

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

NameDescription
System_CAPS_pubmethodInitialize(IClientChannel)

Initializes the IChannelInitializer class with a specified IClientChannel.

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
Available since 3.0
Return to top
Show: