Udostępnij za pośrednictwem


WebHttpRelayBindingElement.TransferMode Property

Definition

Gets or sets a value that indicates whether the service configured with the associated binding uses streamed or buffered (or both) modes of message transfer.

[System.Configuration.ConfigurationProperty("transferMode", DefaultValue=System.ServiceModel.TransferMode.Buffered)]
public System.ServiceModel.TransferMode TransferMode { get; set; }
[<System.Configuration.ConfigurationProperty("transferMode", DefaultValue=System.ServiceModel.TransferMode.Buffered)>]
member this.TransferMode : System.ServiceModel.TransferMode with get, set
Public Property TransferMode As TransferMode

Property Value

Returns a TransferMode that contains indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer. The default value is Buffered.

Attributes

Exceptions

The value set is not a valid TransferMode value.

Applies to