NamedPipeTransportBindingElement Class

 
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.

Represents the binding element for the named pipe transport.

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


public class NamedPipeTransportBindingElement : ConnectionOrientedTransportBindingElement

NameDescription
System_CAPS_pubmethodNamedPipeTransportBindingElement()

Initializes a new instance of the NamedPipeTransportBindingElement class.

System_CAPS_protmethodNamedPipeTransportBindingElement(NamedPipeTransportBindingElement)

Initializes a new instance of the NamedPipeTransportBindingElement class.

NameDescription
System_CAPS_pubpropertyAllowedSecurityIdentifiers

Gets a collection of allowed SecurityIdentifier instances.

System_CAPS_pubpropertyChannelInitializationTimeout

Gets or sets a TimeSpan that determines the maximum time a channel can be in the initialization status before being disconnected. (Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubpropertyConnectionBufferSize

Gets or sets the size of the buffer used to transmit a chunk of the serialized message on the wire from the client or service.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubpropertyConnectionPoolSettings

Gets a collection of connection pool settings.

System_CAPS_pubpropertyHostNameComparisonMode

Gets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubpropertyManualAddressing

Gets or sets a value that indicates whether manual addressing of the message is required.(Inherited from TransportBindingElement.)

System_CAPS_pubpropertyMaxBufferPoolSize

Gets or sets the maximum size, in bytes, of any buffer pools used by the transport. (Inherited from TransportBindingElement.)

System_CAPS_pubpropertyMaxBufferSize

Gets or sets the maximum size of the buffer to use. For streamed messages, this value should be at least the maximum possible size of the message headers, which are read in buffered mode.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubpropertyMaxOutputDelay

Gets or sets the maximum interval of time that a chunk of a message or a full message can remain buffered in memory before being sent out.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubpropertyMaxPendingAccepts

Gets or sets the maximum number of channels a service can have waiting on a listener for processing incoming connections to the service. (Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubpropertyMaxPendingConnections

Gets or sets the maximum number of connections awaiting dispatch on the service.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubpropertyMaxReceivedMessageSize

Gets and sets the maximum allowable message size, in bytes, that can be received.(Inherited from TransportBindingElement.)

System_CAPS_pubpropertyPipeSettings

Gets the pipe settings for the named pipe transport binding element.

System_CAPS_pubpropertyScheme

Returns the URI scheme for the transport.(Overrides TransportBindingElement.Scheme.)

System_CAPS_pubpropertyTransferMode

Gets or sets a value that indicates whether the messages are buffered or streamed with the connection-oriented transport.(Inherited from ConnectionOrientedTransportBindingElement.)

NameDescription
System_CAPS_pubmethodBuildChannelFactory<TChannel>(BindingContext)

Creates a channel factory of the specified type that can be used to create channels.(Overrides BindingElement.BuildChannelFactory<TChannel>(BindingContext).)

System_CAPS_pubmethodBuildChannelListener<TChannel>(BindingContext)

Creates a channel listener of the specified type.(Overrides BindingElement.BuildChannelListener<TChannel>(BindingContext).)

System_CAPS_pubmethodCanBuildChannelFactory<TChannel>(BindingContext)

Determines whether a channel factory of the specified type can be built.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubmethodCanBuildChannelListener<TChannel>(BindingContext)

Determines whether a channel listener of the specified type can be built.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubmethodClone()

Creates a copy of the current binding element.(Overrides BindingElement.Clone().)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProperty<T>(BindingContext)
System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodShouldSerializeMaxPendingAccepts()

Indicates whether the connection oriented transport binding element should serialize maximum pending accepts.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubmethodShouldSerializeMaxPendingConnections()

Indicates whether the connection oriented transport binding element should serialize maximum pending connections.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about bindings.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlExportExtension.ExportContract(WsdlExporter, WsdlContractConversionContext)

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.(Inherited from ConnectionOrientedTransportBindingElement.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIWsdlExportExtension.ExportEndpoint(WsdlExporter, WsdlEndpointConversionContext)

Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.(Inherited from ConnectionOrientedTransportBindingElement.)

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;

.NET Framework
Available since 3.0

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

Return to top
Show: