System.ServiceModel 4.0.0.0 System.ServiceModel.Channels.Binding System.ServiceModel.Channels.IBindingRuntimePreferences

The provides some basic functionality for the bindings used to configure secure, reliable, and interoperable Web services, such as that implemented by the for non-duplex service contracts, and more particularly, for the secure and interoperable that supports the WS-Federation protocol.

By default it generates a run-time stack that uses WS-Security for message security and authentication, HTTP for message delivery, and a Text/XML message encoding. It can be configured to also use WS-ReliableMessaging for reliability.

The use of WS-ReliableMessaging is configurable using the optional parameter.

Provides the base class with members common to the and the .

- Constructor
  4.0.0.0
  To be added.

  Initializes a new instance of the class.

- Constructor
  4.0.0.0
  To be added.

  Initializes a new instance of the class with a value that indicates whether a reliable session is enabled.

  true, if a reliable session is enabled; otherwise, false.
- Property
  4.0.0.0
  System.Boolean To be added.

  An Internet resource is local if it has a local address. A local address is one that is on same computer, the local LAN or intranet and is identified, syntactically, by the lack of a period (.) as in the URIs "http://webserver/" and "http://localhost/".

  Setting the property determines whether endpoints configured with the use the proxy server when accessing local resources.

  If is true, requests to local Internet resources do not use the proxy server. When is false, all Internet requests are made through the proxy server.

  Gets or sets a value that indicates whether to bypass the proxy server for local addresses.

- Method
  4.0.0.0
  System.ServiceModel.Channels.BindingElementCollection

  The order of the binding elements is important. It reflects the order in which the protocol and transport channels are constructed and stacked.

  Returns an ordered collection of binding elements contained in the current binding.

  A that contains the objects for the binding.

- Method
  4.0.0.0
  System.ServiceModel.Channels.SecurityBindingElement To be added.

  When implemented in a derived class, returns the from the current binding.

  A from the current binding.

- Property
  4.0.0.0
  System.ServiceModel.EnvelopeVersion To be added. To be added.

  Gets the version of SOAP that is used for messages that are processed by this binding.

- Method
  4.0.0.0
  System.ServiceModel.Channels.TransportBindingElement To be added.

  When implemented in a derived class, returns the transport binding element from the current binding.

  The from the current binding.

- Property
  4.0.0.0
  System.ServiceModel.HostNameComparisonMode To be added. To be added.

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

- Property
  4.0.0.0
  System.Int64 To be added.

  The tries to minimize the cost of using buffers with a buffer pool. Buffers are required to process messages by the service when they come out of the channel. If there is not sufficient memory in the buffer pool to process the message load, the must allocate additional memory from the CLR heap, which increases the garbage collection overhead. Extensive allocation from the CLR garbage heap is an indication that the buffer pool size is too small and that performance can be improved with a larger allocation by increasing the limit.

  Gets or sets the maximum amount of memory allocated, in bytes, for the buffer manager that manages the buffers required by endpoints using this binding.

- Property
  4.0.0.0
  System.Int64 To be added.

  The size of the messages that can be received on the wire by services using the is bounded by the amount of memory allocated for each message. This bound on message size is intended to limit exposure to denial of service (DoS) attacks.

  Gets or sets the maximum size, in bytes, for a message that can be processed by the binding.

- Property
  4.0.0.0
  System.ServiceModel.WSMessageEncoding To be added. To be added.

  Gets or sets whether MTOM or Text/XML is used to encode SOAP messages.

- Property
  4.0.0.0
  System.Uri To be added.

  If the is set to true, the value of is ignored.

  Gets or sets the URI address of the HTTP proxy.

- Property
  4.0.0.0
  System.Xml.XmlDictionaryReaderQuotas To be added.

  The complexity constraints include items like a maximum element depth, a maximum length for string content within the message. The constraints protect against a class of denial of service (DoS) attacks that attempt to use message complexity to tie up endpoint processing resources.

  Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

- Property
  4.0.0.0
  System.ServiceModel.OptionalReliableSession To be added.

  Reliable sessions are enabled with the constructor.

  Gets an object that provides convenient access to the properties of a reliable session binding element that are available when using one of the system-provided bindings.

- Property
  4.0.0.0
  System.String To be added. To be added.

  Gets the URI transport scheme for the channels and listeners that are configured with this binding.

- Property
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets a value that indicates whether incoming requests are handled synchronously or asynchronously.

- Property
  4.0.0.0
  System.Text.Encoding To be added. To be added.

  Gets or sets the character encoding that is used for the message text.

- Property
  4.0.0.0
  System.Boolean To be added. To be added.

  Gets or sets a value that indicates whether this binding should support flowing WS-Transactions.

- Property
  4.0.0.0
  System.Boolean To be added.

  It is an error for this to be true and to be non-null.

  Gets or sets a value that indicates whether the auto-configured HTTP proxy of the system should be used, if available.