Export (0) Print
Expand All

NamedPipeTransportBindingElement Class

Represents the binding element for the named pipe transport.

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

public class NamedPipeTransportBindingElement : ConnectionOrientedTransportBindingElement
public class NamedPipeTransportBindingElement extends ConnectionOrientedTransportBindingElement
public class NamedPipeTransportBindingElement extends ConnectionOrientedTransportBindingElement
Not applicable.

This transport uses URIs of the form "net.pipe://hostname/path". Other URI components are optional.

The NamedPipeTransportBindingElement class is the starting point for creating a custom binding that implements the named pipes transport protocol. This transport is used for on-machine Windows Communication Foundation (WCF)-to-WCF communication.

The WCF service model uses this class to create factory objects that implement the IChannelFactory and IChannelListener interfaces. These factory objects then create and accept the channels that transmit SOAP messages using the named pipes protocol.

You configure the factories that this class creates by setting its properties, such as: ConnectionPoolSettings.

You can also set properties on the base class, ConnectionOrientedTransportBindingElement, such as: MaxBufferSize, TransferMode, and ConnectionBufferSize. For a complete list of properties, see ConnectionOrientedTransportBindingElement.

Finally, you can set properties on the base class of ConnectionOrientedTransportBindingElement, which is TransportBindingElement, such as MaxBufferPoolSize. For a complete list of properties, see TransportBindingElement.

This example shows how to use this class:

NamedPipeTransportBindingElement bElement =
    new NamedPipeTransportBindingElement();

NamedPipeConnectionPoolSettings connectionPoolSettings =
    bElement.ConnectionPoolSettings;

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 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