Bagikan melalui


DataServiceContext.UsePostTunneling Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a Boolean value that indicates whether to use post tunneling.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

'Declaration
Public Property UsePostTunneling As Boolean
public bool UsePostTunneling { get; set; }

Property Value

Type: System.Boolean
A Boolean value that indicates whether to use post tunneling.

Remarks

This property controls whether create, update, and delete requests that are sent to the data service will use the post tunneling feature of the protocol or not. When set to true, tunneling is used. When set to false, standard HTTP methods are used.

The .NET Framework default value of this property is false.

The Silverlight default value of this property is true.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.