Export (0) Print
Expand All

StringHttpBody Class

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

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

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

[<SerializableAttribute>]
type StringHttpBody =  
    class
        interface IHttpBody
        interface ICloneable
    end

The StringHttpBody type exposes the following members.

  NameDescription
Public methodStringHttpBodyInitializes a new instance of the StringHttpBody class.
Top

  NameDescription
Public propertyBodyStringGets or sets the string that contains the HTTP body contents.
Public propertyContentTypeGets a value representing the content-type of the body.
Public propertyInsertByteOrderMark
Top

  NameDescription
Public methodCloneCreates a shallow copy of the StringHttpBody object.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteHttpBodyCreates a stream that contains the HTTP body.
Top

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.

Community Additions

ADD
Show:
© 2014 Microsoft