NetNamedPipeBinding.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 the service configured with the binding uses streamed (in one or both directions) or buffered modes of message transfer.
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 value that indicates whether the service configured with the binding uses streamed (in one or both directions) or buffered modes of message transfer. The default is Buffered.
Examples
The following example shows how to get the TransferMode.
TransferMode transferMode =
binding.TransferMode;
Remarks
It is possible to stream only the incoming or the outgoing messages by specifying, respectively, StreamedRequest or StreamedResponse.
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk