NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ChannelServices.RegisterChannel

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
);

Parameters

chnl
The channel to register

Exceptions

Exception Type Condition
ArgumentNullException is thrown if the channel is null
RemotingException is thrown if the channel has already been registerd

See Also

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