BasicHttpBinding.TransferMode Property

Gets or sets a value that indicates whether messages are sent buffered or streamed.

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

public TransferMode TransferMode { get; set; }

Property Value

Type: System.ServiceModel.TransferMode
The TransferMode that indicates whether messages are sent buffered or streamed.

The following example sets TransferMode to TransferMode.Streamed.

		    BasicHttpBinding binding = new BasicHttpBinding();
		    binding.TransferMode = TransferMode.Streamed;

The value of this property can also be set in the configuration file.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show: