ResponseSoapContext.Current Property

Gets Web services architecture-specific information that is associated with a SOAP response.

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

Usage

'Usage
Dim returnValue As SoapContext
returnValue = ResponseSoapContext.Current

Dim sampleValue As SoapContext
ResponseSoapContext.Current = sampleValue

Syntax

'Declaration
Public Shared Property Current() As SoapContext
public static SoapContext Current {get; set;}
public:
property static SoapContext^ Current {
    SoapContext^ get();
    void set(SoapContext^ value);
}
public static SoapContext get_Current();
public static void set_Current(SoapContext);
public static function get Current() : SoapContext;
public static function set Current(SoapContext);

Property Value

A SoapContext containing Web services architecture-specific information about a SOAP response.

Remarks

Web services use the Current property to access the SoapContext associated with SOAP responses. The SoapContext provides access to the contents of SOAP headers defined in the WS-Security, WS-Routing, and WS-Timestamp specifications. For instance, the Security property provides access to the contents of WS-Security SOAP headers, including the client's authentication credentials, XML digital signatures, and encryption details.

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

ResponseSoapContext Class
ResponseSoapContext Members
Microsoft.Web.Services3 Namespace