System.ServiceModel
4.0.0.0
System.ServiceModel.Channels.MessageEncodingBindingElement
System.ServiceModel.Description.IPolicyExportExtension
System.ServiceModel.Description.IWsdlExportExtension
Encoding is the process of transforming a message into a sequence of bytes. Decoding is the reverse process. indigo1 includes three types of encoding for SOAP messages: Text, Binary and Message Transmission Optimization Mechanism (MTOM).
The text encoding represented by the is the most interoperable, but the least efficient encoder for XML messages. Web service or Web service client can generally understand textual XML. However, transmitting large blocks of binary data as text is not efficient.
crabout the binding element that specifies messages are encoded using the .NET Binary Format for XML, see .
crabout the binding element that specifies messages are encoded using the MTOM message encoding, see .
crabout how to implement a custom message encoder, use the class.
The binding element that specifies the character encoding and message versioning used for text-based SOAP messages.
Constructor
4.0.0.0
The default for this constructor is the version of WS-Addressing 1.0 and SOAP 1.2. The default text encoding is the UTF-8 format.
Initializes a new instance of the class.
Constructor
4.0.0.0
To be added.
Initializes a new instance of the class with a specified message version and encoding.
The that is used for the message version.
The that is used to format the message characters.
Method
4.0.0.0
System.ServiceModel.Channels.IChannelFactory<TChannel>
To be added.
Builds the channel factory stack on the client that creates a specified type of channel for a specified context.
An of type for the specified context.
The for the channel.
The type of channel the channel factory produces.
Method
4.0.0.0
System.ServiceModel.Channels.IChannelListener<TChannel>
ReferenceTypeConstraint
System.ServiceModel.Channels.IChannel
To be added.
Builds the channel listener on the service that accepts a specified type of channel for a specified context.
An of type for the specified context.
The for the listener.
The type of channel the channel listener accepts.
Method
4.0.0.0
System.Boolean
ReferenceTypeConstraint
System.ServiceModel.Channels.IChannel
To be added.
Returns a value that indicates whether the current binding can build a listener for a specified type of channel and context.
true if the specified channel listener stack can be build on the service; otherwise, false.
The for the listener.
The type of channel the channel listener accepts.
Method
4.0.0.0
System.ServiceModel.Channels.BindingElement
This creates a complete copy of the current binding element object tree, also called a deep clone. A deep clone of an object creates a copy of the object and a copy of everything directly or indirectly referenced by that object. (This is called copying the entire object graph.) Returning a deep clone enables the runtime to support the case in which multiple custom bindings share a custom binding element. If a deep clone is not returned, the run-time behavior is undefined. A shallow clone of an object, by contrast, is a copy of the object only. If the object contains references to other objects, the shallow copy does not create copies of the referred objects; instead, it copies only the references to the original objects.
Creates a new object initialized from the current one.
A object with property values equal to those of the current element.
Method
4.0.0.0
System.ServiceModel.Channels.MessageEncoderFactory
The objects that the factory produces can read messages from a stream and write them to a stream for specific types of message encoding.
Creates a factory for text message encoders that employs the message version and character encoding specified by the current encoding binding element.
The that this factory creates.
Method
4.0.0.0
T
ReferenceTypeConstraint
Use this to request a typed object for setting properties or getting status from the appropriate layer in the binding element stack. If a layer supports returning the requested object, it returns it. If not, it delegates the call down to the next layer in the stack. If it gets to the bottom of the stack and no binding element layer supported the requested object, then the method returns null.
Returns a typed object requested, if present, from the appropriate layer in the binding element stack.
The typed object requested if it is present or null if it is not.
The for the binding element.
The typed object for which the method is querying.
Property
4.0.0.0
System.Int32
To be added.
Increasing this number increases memory consumption, but prepares the encoder to deal with sudden bursts of incoming messages because it is able to use readers from the pool that have already been created instead of creating new ones.
Gets or sets the number of readers that are allocated to a pool and ready for use to process incoming messages.
Property
4.0.0.0
System.Int32
To be added.
Increasing this number increases memory consumption, but prepares the encoder to deal with sudden bursts of outgoing messages because it is able to use writers from the pool that have already been created instead of creating new ones.
Gets or sets the number of writers that are allocated to a pool and ready for use to process outgoing messages.
Property
4.0.0.0
System.ServiceModel.Channels.MessageVersion
To be added.
The default for this constructor is the version of WS-Addressing 1.0 and SOAP 1.2.
Gets or sets the SOAP and WS-Addressing versions that are used to format the text message.
Method
4.0.0.0
System.Void
To be added.
To be added.
To be added.
To be added.
To be added.
To be added.
Property
4.0.0.0
System.Xml.XmlDictionaryReaderQuotas
To be added.
The complexity constraints protect against a class of denial of service (DOS) attacks that attempt to use message complexity to tie up endpoint processing resources. The properties that express these constraints and their default values are as follows:
-
= 32
-
= 8192
-
= 16384
-
= 4096
-
= 16384
Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.
Method
4.0.0.0
System.Void
To be added.
Generates WSDL contract information from encoding policies contained in the binding element.
The that exports the contract information.
A object that provides mappings from exported WSDL elements to the contract description.
Method
4.0.0.0
System.Void
The is responsible for setting information about the message version in the WSDL. But this is done by the method, not by , which is implemented but empty.
Generates WSDL contract information from encoding policies contained in the binding element.
The that exports the contract information.
A object that provides mappings from exported WSDL elements to the contract description.
Method
4.0.0.0
System.Void
The is responsible for setting information about the message version in the WSDL. But this is done by the method.
Generates WSDL contract information from encoding policies contained in the binding element.
The that exports the contract information.
A object that provides mappings from exported WSDL elements to the endpoint description.
Property
4.0.0.0
System.Text.Encoding
To be added.
When specifying a content type such as “utf-16” an XML declaration is required in the message. Alternatively you can specify either “utf-16LE” or “utf-16BE” and an XML declaration is not required.
Gets or sets the encoding that is used to format the characters in the text message.