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.

StringHttpBody Class

 

Represents an HTTP body in string form used for SOAP support.

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

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.StringHttpBody

[SerializableAttribute]
public class StringHttpBody : ICloneable, IHttpBody

NameDescription
System_CAPS_pubmethodStringHttpBody()

Initializes a new instance of the StringHttpBody class.

NameDescription
System_CAPS_pubpropertyBodyString

Gets or sets the string that contains the HTTP body contents.

System_CAPS_pubpropertyContentType

Gets a value representing the content-type of the body.

System_CAPS_pubpropertyInsertByteOrderMark

NameDescription
System_CAPS_pubmethodClone()

Creates a shallow copy of the StringHttpBody object.

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)

Creates a stream that contains the HTTP body.

This is for basic SOAP support. This class is serializable. For a list of initial property values for an instance of StringHttpBody class, see the StringHttpBody constructor.

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: