System.ServiceModel 4.0.0.0 System.ServiceModel.Channels.TransportBindingElement System.ServiceModel.Description.IPolicyExportExtension System.ServiceModel.Description.IWsdlExportExtension

This class is documented to give a more complete understanding of the transports hierarchy and is not expected to be directly called. The constructor is internal to avoid direct construction and invocation. The public properties of this binding element can be called from the derived classes and .

An abstract class that supplements the base with additional properties that are common to connection-oriented transports such as TCP and named pipes.

- Method
  4.0.0.0
  System.Boolean ``

  You should call this method before trying to create a channel factory.

  If is this method returns true only when in buffered mode. If is this method returns true only when in streaming mode.

  Determines whether a channel factory of the specified type can be built.

  true if a channel factory can be built; otherwise false.

  The for the channel. The type of channel to check.
- Method
  4.0.0.0
  System.Boolean ReferenceTypeConstraint System.ServiceModel.Channels.IChannel ``

  You should call this method before trying to create a channel listener.

  If is this method returns true only when in buffered mode. If is this method returns true only when in streaming mode.

  Determines whether a channel listener of the specified type can be built.

  true if a channel listener can be built; otherwise false.

  The for the channel. The type of channel to check.
- Property
  4.0.0.0
  System.TimeSpan To be added.

  This property determines how long a TCP connection can take to authenticate itself using the .Net Framing protocol. A client needs to send some initial data before the server has enough information to perform authentication. This timeout is intentionally made smaller than the ReceiveTimeout (10 min) so that malicious unauthenticated clients do not keep the connections tied up to the server for long. The default value is 30 seconds.

  Gets or sets a that determines the maximum time a channel can be in the initialization status before being disconnected.

- Property
  4.0.0.0
  System.Int32 To be added.

  This value can be changed to provide better throughput based on average message sizes and exchange patterns.

  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.

- Method
  4.0.0.0
  T ReferenceTypeConstraint ``

  This method receives a binding context as an input parameter, which represents the stack of binding elements.

  Each binding element in the stack can handle the inquiry itself, delegate the inquiry, or a combination of the two. Each binding element can modify the context if it delegates the inquiry. However, a transport binding element handles the inquiry itself.

  This method is implemented by binding elements as well as by the run-time objects such as , , and .

  Gets properties from the binding stack, if present.

  A object from the binding stack, if present.

  The binding context. Type of the property.
- Property
  4.0.0.0
  System.ServiceModel.HostNameComparisonMode To be added.

  See the enumeration for further values and their descriptions.

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

- Property
  4.0.0.0
  System.Int32 To be added.

  For streamed messages this property only applies to the message headers; for buffered messages it applies to the entire message.

  The value of this property must be less than or equal to and must be larger than the size of the headers of the message or the channel throws an exception.

  If you receive more data than you can buffer the channel throws a , which contains a as an inner exception.

  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.

- Property
  4.0.0.0
  System.TimeSpan To be added.

  If is false then this property is ignored for that message.

  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.

- Property
  4.0.0.0
  System.Int32 To be added.

  This property limits the number of channels that the server can have waiting on a listener. When MaxPendingAccepts is too low, there will be a small interval of time in which all of the waiting channels have started servicing connections, but no new channels have begun listening. A connection can arrive during this interval and will fail because nothing is waiting for it on the server. This property can be configured by setting the property to a larger number.

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

- Property
  4.0.0.0
  System.Int32 To be added.

  This property controls how many connections a transport has accepted but have not been picked up by the ServiceModel Dispatcher. To set this value, use MaxConnections on the binding or maxOutboundConnectionsPerEndpoint on the binding element.

  When a higher layer in the stack calls AcceptDispatch, that connection is removed from the queue of connections awaiting dispatch.

  Gets or sets the maximum number of connections awaiting dispatch on the service.

- Method
  4.0.0.0
  System.Void `` ``

  This method writes binding-related statements into the WSDL information exposed by a particular contract and is used by indigo1 to communicate to clients the existence of this custom binding element in the binding stack.

  This method takes two parameters: the and objects. Use the , , and methods to obtain collections of policy assertions that have already been exported at various scopes. Then use this method to add your own policy assertions to the appropriate collection.

  The property exposes the for the endpoint that is being exported. This allows this method to correctly scope their exported policy assertions. For example, security attributes in code may add behaviors to the that indicate where security policy assertions should be added.

  Once custom policy assertions have been attached to the WSDL information, clients can detect and import the custom binding assertions by implementing an interface.

  Exports a custom policy assertion about bindings.

  The that you can use to modify the exporting process. The that you can use to insert your custom policy assertion.
- Method
  4.0.0.0
  System.Void `` `` To be added.

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

  The that exports the contract information. Provides mappings from exported WSDL elements to the contract description.
- Method
  4.0.0.0
  System.Void `` `` To be added. To be added.

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

  The that exports the contract information.
- Property
  4.0.0.0
  System.ServiceModel.TransferMode To be added.

  This property determines the transfer mode for requests and responses. Possible values include:

  Gets or sets a value that indicates whether the messages are buffered or streamed with the connection-oriented transport.