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.