ChannelFactoryBase(Of TChannel) Class
Provides a common base implementation for channel factories on the client to create channels of a specified type connected to a specified address.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public MustInherit Class ChannelFactoryBase(Of TChannel) _ Inherits ChannelFactoryBase _ Implements IChannelFactory(Of TChannel), IChannelFactory, _ ICommunicationObject 'Usage Dim instance As ChannelFactoryBase(Of TChannel)
Type Parameters
- TChannel
The type of channel the factory produces.
The channels created by channel factories on the client are accepted on the server by channel listeners. Once the channel connection is established between client and service, they can communicate by exchanging messages.
The CreateChannel uses the specified address as the destination for outgoing messages. The ServiceAddress.Uri property is used as the To header in the message. The ServiceReference.Via property is used as the physical destination to send messages to. This is typically the same as the ServiceAddress.Uri value.
System.ServiceModel.Channels.CommunicationObject
System.ServiceModel.Channels.ChannelManagerBase
System.ServiceModel.Channels.ChannelFactoryBase
System.ServiceModel.Channels.ChannelFactoryBase(Of TChannel)
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.