Share via


SoapWebResponse Class

Provides a Web Services Enhancements (WSE)-specific implementation of the System.Net.WebResponse class.

Namespace: Microsoft.Web.Services2
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim soapWebResponse1 As SoapWebResponse

Syntax

'Declaration
Public Class SoapWebResponse
    Inherits WebResponse
public class SoapWebResponse : WebResponse
public ref class SoapWebResponse : public WebResponse
public class SoapWebResponse extends WebResponse
public class SoapWebResponse extends WebResponse

Remarks

The SoapWebResponse class contains support for the properties and methods included in System.Net.WebResponse plus the additional SoapContext property. The SoapContext property is the context of a SOAP response from an XML Web service providing security, routing, and other XML Web services architecture-specific information associated with that response.

You should never directly create an instance of the SoapWebResponse class. Instead, use the instance returned by the Microsoft.Web.Services2.SoapWebRequest.GetResponse method.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.Net.WebResponse
      Microsoft.Web.Services2.SoapWebResponse

Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

Microsoft.Web.Services2 Namespace

Other Resources

SoapWebResponse Members