HttpChannel.ChannelName Property
.NET Framework 1.1
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
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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
HttpChannel Class | HttpChannel Members | System.Runtime.Remoting.Channels.Http Namespace