Share via


SoapContext.Channel Property

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Namespace: Microsoft.Web.Services2
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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^);
}
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 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

SoapContext Class
Microsoft.Web.Services2 Namespace

Other Resources

SoapContext Members