Export (0) Print
Expand All

IClientChannel Interface

Defines the behavior of outbound request and request/reply channels used by client applications.

Namespace: System.ServiceModel
Assembly: System.ServiceModel (in system.servicemodel.dll)

public interface IClientChannel : IContextChannel, IChannel, ICommunicationObject, 
	IExtensibleObject<IContextChannel>, IDisposable
public interface IClientChannel extends IContextChannel, IChannel, 
	ICommunicationObject, IExtensibleObject<IContextChannel>, IDisposable
public interface IClientChannel extends IContextChannel, IChannel, 
	ICommunicationObject, IExtensibleObject<IContextChannel>, IDisposable
Not applicable.

The IClientChannel interface defines the operations supported by all channels returned by a call to ChannelFactory.CreateChannel. Use the IClientChannel methods and properties to inspect and modify the outbound typed channel. The Service Metadata Utility Tool (Svcutil.exe) exports both a ClientBase class and a service contract interface by creating a contract interface that inherits from both the target service contract and IClientChannel, enabling you to use the extended contract as both the proxy to the service and to access the client channel.

For more information, see Client Architecture. For examples of its appearance in generated client code files, see Understanding Generated Client Code.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft