Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BinaryHttpBody Class

 

Represents an HTTP body that contains binary data.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.BinaryHttpBody

[SerializableAttribute]
public class BinaryHttpBody : ICloneable, IHttpBody

NameDescription
System_CAPS_pubmethodBinaryHttpBody()

Initializes a new instance of the BinaryHttpBody class.

NameDescription
System_CAPS_pubpropertyContentType

Gets or sets the content type of this data.

System_CAPS_pubpropertyData

Gets or sets the binary data.

NameDescription
System_CAPS_pubmethodClone()

Makes a copy of the HTTP request object that will be sent to a Web server.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodWriteHttpBody(WebTestRequest, Stream)

Writes the binary data to the specified stream.

IHttpBody provides access to the HTTP body through the WriteHttpBody method.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: