WebServiceEndpoint.TransferMode Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public TransferMode TransferMode { get; set; }

Property Value

Type: System.ServiceModel.TransferMode

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

Exception Condition
InvalidEnumArgumentException

The value set is not a valid TransferMode value.

The TransferMode indicates whether a channel uses streamed or buffered modes for the transfer of messages.

.NET Framework
Available since 4.0
Return to top
Show: