다음을 통해 공유


SoapContext Class

Contains the WSE-specific features of a SOAP message. This class cannot be inherited.

Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim soapContext1 As SoapContext

Syntax

'Declaration
NotInheritable Public Class SoapContext
public sealed class SoapContext
public ref class SoapContext sealed
public final class SoapContext
public class SoapContext

Remarks

Web service clients access their SoapContext using the RequestSoapContext and ResponseSoapContext properties of a WebServicesClientProtocol. Web services access their SoapContext using the static Current property of the RequestSoapContext and ResponseSoapContext classes.

To access the current SOAP context from within a custom filter, use the SoapContext.Current property. The RequestSoapContext.Current and ResponseSoapContext.Current properties are not valid during pipeline processing when customs filters are in use.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services3.SoapContext

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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SoapContext Members
Microsoft.Web.Services3 Namespace
RequestSoapContext
ResponseSoapContext