WebTestRequest.SendChunked 属性

获取或设置一个值,该值指示用户是否可以发送分块请求正文。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Property SendChunked As Boolean
    Get
    Set
public bool SendChunked { get; set; }
public:
property bool SendChunked {
    bool get ();
    void set (bool value);
}
member SendChunked : bool with get, set
function get SendChunked () : boolean
function set SendChunked (value : boolean)

属性值

类型:System.Boolean
如果发送了分块请求,则为 true;否则为 false。默认值为 false。

备注

这对于大的请求很有用。

.NET Framework 安全性

请参见

参考

WebTestRequest 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间