Επεξεργασία

Κοινή χρήση μέσω


BasicHttpBinding.TransferMode Property

Definition

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

public:
 property System::ServiceModel::TransferMode TransferMode { System::ServiceModel::TransferMode get(); void set(System::ServiceModel::TransferMode value); };
public System.ServiceModel.TransferMode TransferMode { get; set; }
member this.TransferMode : System.ServiceModel.TransferMode with get, set
Public Property TransferMode As TransferMode

Property Value

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

Examples

The following example sets TransferMode to Streamed.

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

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

Applies to