This documentation is archived and is not being maintained.

WebMessageEncodingBindingElement Members

Visual Studio 2008

Enables plain-text XML, JavaScript Object Notation (JSON) message encodings and "raw" binary content to be read and written when used in a Windows Communication Foundation (WCF) binding.

The WebMessageEncodingBindingElement type exposes the following members.

  NameDescription
Public method WebMessageEncodingBindingElement Overloaded. Initializes a new instance of the WebMessageEncodingBindingElement class.
Top

  NameDescription
Public method BuildChannelFactory<TChannel> Builds the channel factory stack on the client that creates a specified type of channel for a specified context. (Overrides BindingElement.BuildChannelFactory<TChannel>(BindingContext).)
Public method BuildChannelListener<TChannel> Builds the channel listener stack on the client that accepts a specified type of channel for a specified context. (Overrides BindingElement.BuildChannelListener<TChannel>(BindingContext).)
Public method CanBuildChannelFactory<TChannel> Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel. (Inherited from BindingElement.)
Public method CanBuildChannelListener<TChannel> Returns a value that indicates whether the current binding can build a listener for a specified type of channel and context. (Overrides BindingElement.CanBuildChannelListener<TChannel>(BindingContext).)
Public method Clone Creates a new WebMessageEncodingBindingElement object initialized from the current one. (Overrides BindingElement.Clone().)
Public method CreateMessageEncoderFactory Creates a message encoder factory that produces message encoders that can write either JavaScript Object Notation (JSON) or XML messages. (Overrides MessageEncodingBindingElement.CreateMessageEncoderFactory().)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty<T> Returns the object of the type requested, if present, from the appropriate layer in the channel stack, or null if it is not present. (Overrides MessageEncodingBindingElement.GetProperty<T>(BindingContext).)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property ContentTypeMapper Gets or sets how the content type of an incoming message is mapped to a format.
Public property MaxReadPoolSize Gets or sets a value that specifies the maximum number of readers that is allocated to a pool and that is available to process incoming messages without allocating new readers.
Public property MaxWritePoolSize Gets or sets a value that specifies the maximum number of writers that is allocated to a pool and that is available to process outgoing messages without allocating new writers.
Public property MessageVersion Gets or sets the message version that indicates that the binding element does not use SOAP or WS-Addressing. (Overrides MessageEncodingBindingElement.MessageVersion.)
Public property ReaderQuotas Gets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.
Public property WriteEncoding Gets or sets the character encoding that is used to write the message text.
Top
Show: