Freigeben über


HttpTransportBindingElement.TransferMode Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public Property TransferMode As TransferMode
public TransferMode TransferMode { get; set; }

Property Value

Type: System.ServiceModel.TransferMode

One of the following member values of TransferMode:

Remarks

Setting the transfer mode to Buffered enables buffered communication in both directions. Setting the transfer mode to StreamedResponse enables streaming communication in the response.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.