BasicHttpBinding.TransferMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.