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 is the binding element that specified the .NET Binary Format for XML should be used for encoding messages, and has options to specify the character encoding and the SOAP and WS-Addressing version to be used. Binary encoding is most efficient but least interoperable of the encoding options.
crabout the binding element that specifies messages are encoded using a textual representation of XML, see .
crabout the binding element that specifies messages are encoded using the MTOM message encoding, see .
To implement a custom message encoder, use the class.
The binding element that specifies the .NET Binary Format for XML used to encode messages.
Constructor
4.0.0.0
To be added.
Initializes a new instance of the class.
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 built 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 can also be described as 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 runtime 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.
Property
4.0.0.0
System.ServiceModel.Channels.CompressionFormat
To be added.
To be added.
Gets or sets the compression format for the binding element.
Method
4.0.0.0
System.ServiceModel.Channels.MessageEncoderFactory
The objects that the factory produces can read and write messages using the binary message encoding.
Creates a factory for binary message encoders that employ the SOAP and WS-Addressing versions and the character encoding specified by the current encoding binding element.
The that this binding element 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 are already created instead of having to create new ones.
Gets or sets the maximum number of XML readers that are allocated to a pool and are ready for use to process incoming messages.
Property
4.0.0.0
System.Int32
To be added.
The .NET Binary Format for XML can optimize the transmission of strings when they are used in multiple messages within a session. Once a string is sent in a message, additional messages that contain that string can refer to it using only the string's ID. This requires that the strings and their IDs be stored in memory. This allows the ID to be retransmitted in subsequent messages instead of the entire string. This lookup increases the efficiency of message transmission when using the binary format. The gets and sets the maximum amount of memory that is allocated to store these strings.
Gets or sets the maximum amount of memory available within a session for optimizing transmission procedures.
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 are already created instead of having to create new ones.
Gets or sets the maximum number of XML writers that are allocated to a pool and are ready for use to process outgoing messages.
Property
4.0.0.0
System.ServiceModel.Channels.MessageVersion
To be added.
Specifies the versions of SOAP and WS-Addressing associated with a message and its exchange.
Gets or sets the SOAP message and WS-Addressing versions that are used or expected.
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 constraints on the complexity of XML messages that can be processed by endpoints configured with this binding element.
Method
4.0.0.0
System.Void
To be added.
To be added.
Writes a custom binary message encoding elements into the generated metadata for an endpoint.
The that exports the metadata information.
Method
4.0.0.0
System.Void
To be added.
Writes a custom binary message encoding elements into the generated WSDL for a contract.
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
To be added.
Writes a custom binary message encoding elements into the generated WSDL for an endpoint.
The that exports the contract information.
A object that provides mappings from exported WSDL elements to the endpoint description.