Partager via


SoapContext.Channel Property

Gets or sets the channel that was used to receive the context.

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

Usage

'Usage
Dim soapContext1 As SoapContext

Dim returnValue As ISoapChannel
returnValue = soapContext1.Channel

Dim sampleValue As ISoapChannel
soapContext1.Channel = sampleValue

Syntax

'Declaration
Public Property Channel() As ISoapChannel
public ISoapChannel Channel {get; set;}
public:
property ISoapChannel^ Channel {
    ISoapChannel^ get();
    void set(ISoapChannel^ value);
}
public ISoapChannel get_Channel();
public void set_Channel(ISoapChannel);
public function get Channel() : ISoapChannel;
public function set Channel(ISoapChannel);

Property Value

The ISoapChannel for the current request.

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 Class
SoapContext Members
Microsoft.Web.Services3 Namespace