Export (0) Print
Expand All

ByteStreamMessageEncodingBindingElement Class

The binding element that specifies the message encoding as a stream of bytes and has the option to specify the character encoding.

System.Object
  System.ServiceModel.Channels.BindingElement
    System.ServiceModel.Channels.MessageEncodingBindingElement
      System.ServiceModel.Channels.ByteStreamMessageEncodingBindingElement

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.Channels (in System.ServiceModel.Channels.dll)

public sealed class ByteStreamMessageEncodingBindingElement : MessageEncodingBindingElement

The ByteStreamMessageEncodingBindingElement type exposes the following members.

  NameDescription
Public methodByteStreamMessageEncodingBindingElement()Initializes a new instance of the ByteStreamMessageEncodingBindingElement class.
Public methodByteStreamMessageEncodingBindingElement(XmlDictionaryReaderQuotas)Initializes a new instance of the ByteStreamMessageEncodingBindingElement class with the specified quota.
Top

  NameDescription
Public propertyMessageVersionGets or sets the SOAP message and WS-Addressing versions that are used or expected. (Overrides MessageEncodingBindingElement.MessageVersion.)
Public propertyReaderQuotasGets or sets constraints on the complexity of XML messages that can be processed by endpoints configured with this binding element.
Top

  NameDescription
Public methodBuildChannelFactory<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 methodBuildChannelListener<TChannel>Builds the channel listener on the service that accepts a specified type of channel for a specified context. (Overrides BindingElement.BuildChannelListener<TChannel>(BindingContext).)
Public methodCanBuildChannelFactory<TChannel>Returns a value that indicates whether the current binding can build a factory for a specified type of channel and context. (Overrides BindingElement.CanBuildChannelFactory<TChannel>(BindingContext).)
Public methodCanBuildChannelListener<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 methodCloneCreates a new ByteStreamMessageEncodingBindingElement object initialized from the current one. (Overrides BindingElement.Clone().)
Public methodCreateMessageEncoderFactoryCreates a factory for byte stream message encoders that employ the SOAP and WS-Addressing versions and the character encoding specified by the current encoding binding element. (Overrides MessageEncodingBindingElement.CreateMessageEncoderFactory().)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetProperty<T>Returns the typed object requested, if present, from the appropriate layer in the channel stack. (Inherited from MessageEncodingBindingElement.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodShouldSerializeMessageVersionReturns a value that indicates whether the MessageVersion property has changed from its default value and should be serialized.
Public methodShouldSerializeReaderQuotasReturns a value that indicates whether the ReaderQuotas property has changed from its default value and should be serialized.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft