Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Unregister channel registered using configuration file

Unregister channel registered using configuration file

Scheduled Pinned Locked Moved Visual Basic
xmlquestionworkspace
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vipul Bhatt
    wrote on last edited by
    #1

    I'm trying to unregister a channel which was registered using a configuration file (using RemotingConfiguration.Configure). I can't use: ChannelServices.Unregister(mychannel) because I do not have a channel object because I did not register it manually. I could use: IChannel this_channel = ChannelServices.GetChannel(my_channel_name); ChannelServices.UnregisterChannel(this_channel); but as the channel name is specified in the configuration file, I don't want to hardcode in the code. I don't want to unregister all the channels, just the one I'm currently using. Is there any way to do this? Or am I better off just reading the xml config file for the channel settings and then setting up the channels programmatically? X|

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups