ConnectionOrientedTransportBindingElement.TransferMode 属性

定义

获取或设置一个值,该值指示通过面向连接的传输对消息进行缓冲还是流处理。Gets or sets a value that indicates whether the messages are buffered or streamed with the connection-oriented transport.

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

属性值

一个 TransferMode 值,该值指示通道是使用消息传输的流处理模式还是缓冲模式。A TransferMode value which indicates whether a channel uses streamed or buffered modes of message transfer. 默认值为 BufferedThe default is Buffered.

异常

该值不是有效的 TransferModeThe value is not a valid TransferMode.

注解

该属性会确定请求和响应的传输模式。This property determines the transfer mode for requests and responses. 可能的值包括:Possible values include:

适用于