ChannelName Property
Collapse the table of content
Expand the table of content

HttpChannel.ChannelName Property

Gets the name of the current channel.

[Visual Basic]
Public Overridable ReadOnly Property ChannelName As String  _
   Implements IChannel.ChannelName
[C#]
public virtual string ChannelName {get;}
[C++]
public: __property virtual String* get_ChannelName();
[JScript]
public function get ChannelName() : String;

Property Value

The name of this channel.

Implements

IChannel.ChannelName

Remarks

This property is used to retrieve a specific channel when calling GetChannel. If this property is not set, the system defaults to "http". If you want to register more than one HttpChannel, each must have a unique name. Set this property to the Empty string ("") if you want to ignore names, but avoid naming collisions. The system will allow any number of channels with the Empty.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

HttpChannel Class | HttpChannel Members | System.Runtime.Remoting.Channels.Http Namespace

Show:
© 2016 Microsoft