Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
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.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
Visual Basic (Declaration)
Public MustInherit Class ChannelFactoryBase(Of TChannel) _
    Inherits ChannelFactoryBase _
    Implements IChannelFactory(Of TChannel), IChannelFactory,  _
    ICommunicationObject
Visual Basic (Usage)
Dim instance As ChannelFactoryBase(Of TChannel)
C#
public abstract class ChannelFactoryBase<TChannel> : ChannelFactoryBase, 
    IChannelFactory<TChannel>, IChannelFactory, ICommunicationObject
Visual C++
generic<typename TChannel>
public ref class ChannelFactoryBase abstract : public ChannelFactoryBase, 
    IChannelFactory<TChannel>, IChannelFactory, ICommunicationObject
JScript
JScript does not support generic types or methods.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5, 3.0

.NET Compact Framework

Supported in: 3.5
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker