Bewerken

Delen via


WebHttpBindingElement.TransferMode Property

Definition

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

public:
 property System::ServiceModel::TransferMode TransferMode { System::ServiceModel::TransferMode get(); void set(System::ServiceModel::TransferMode value); };
[System.Configuration.ConfigurationProperty("transferMode", DefaultValue=System.ServiceModel.TransferMode.Buffered)]
public System.ServiceModel.TransferMode TransferMode { get; set; }
[<System.Configuration.ConfigurationProperty("transferMode", DefaultValue=System.ServiceModel.TransferMode.Buffered)>]
member this.TransferMode : System.ServiceModel.TransferMode with get, set
Public Property TransferMode As TransferMode

Property Value

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.

Attributes

Exceptions

The value set is not a valid TransferMode value.

Applies to