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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för