BasicHttpBinding.TransferMode Property

Definition

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

C#
public System.ServiceModel.TransferMode TransferMode { get; set; }

Property Value

The TransferMode that indicates whether messages are sent buffered or streamed.

Examples

The following example sets TransferMode to Streamed.

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

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

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0