This documentation is archived and is not being maintained.

ChannelServices.UnregisterChannel Method

Unregisters a particular channel from the registered channels list.

[Visual Basic]
Public Shared Sub UnregisterChannel( _
   ByVal chnl As IChannel _
public static void UnregisterChannel(
 IChannel chnl
public: static void UnregisterChannel(
 IChannel* chnl
public static function UnregisterChannel(
   chnl : IChannel


The channel to unregister.


Exception Type Condition
ArgumentNullException The chnl parameter is a null reference (Nothing in Visual Basic).
RemotingException The channel is not registered.
SecurityException At least one of the callers higher in the callstack does not have permission to configure remoting types and channels.


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

ChannelServices Class | ChannelServices Members | System.Runtime.Remoting.Channels Namespace