Export (0) Print
Expand All

WebHttpBindingElement.TransferMode Property

Gets or sets a value that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer.

Namespace:  System.ServiceModel.Configuration
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

[ConfigurationPropertyAttribute("transferMode", DefaultValue = TransferMode.Buffered)]
public TransferMode TransferMode { get; set; }

Property Value

Type: System.ServiceModel.TransferMode
The TransferMode value that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer. The default value is Buffered.

ExceptionCondition
InvalidEnumArgumentException

The value set is not a valid TransferMode value.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1
Show:
© 2015 Microsoft