共用方式為


BinaryHttpBody.Clone 方法

建立將傳送至 Web 伺服器的 HTTP 要求物件複本。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
Public Function Clone As Object
public Object Clone()
public:
virtual Object^ Clone() sealed
abstract Clone : unit -> Object  
override Clone : unit -> Object
public final function Clone() : Object

傳回值

類型:Object
HTTP 要求物件。

實作

ICloneable.Clone

.NET Framework 安全性

請參閱

參考

BinaryHttpBody 類別

Microsoft.VisualStudio.TestTools.WebTesting 命名空間

WebTestRequest