Registers a with the channel services. Takes in the IChannel interface from a Channel object.
[Visual Basic] Public Shared Sub RegisterChannel( _ ByVal chnl As IChannel _ ) [C#] public static void RegisterChannel( IChannel chnl ); [C++] public: static void RegisterChannel( IChannel* chnl ); [JScript] public static function RegisterChannel( chnl : IChannel );
Exception Type | Condition |
---|---|
ArgumentNullException | is thrown if the channel is null |
RemotingException | is thrown if the channel has already been registerd |
ChannelServices Class | ChannelServices Members | System.Runtime.Remoting Namespace