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
  1. Home
  2. General Programming
  3. C#
  4. exceptions, remoting and marshalling

exceptions, remoting and marshalling

Scheduled Pinned Locked Moved C#
helpquestionjson
1 Posts 1 Posters 0 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.
  • R Offline
    R Offline
    RedSunBeer
    wrote on last edited by
    #1

    Hello, I have a problem with remoting. In my remoting component I have a custom defined exception handling class. This class derives from the ApplicationException class. Now i need to send my custom exception to the client via remoting. As i have already inherited the ApplicationException class i cannot inherit the marshalbyrefobject which is required for remoting. So how can i send my custome exception object to the client via remoting? I have tried sending the exception object by using another class which inherits remoting and then creates an instance of the custom exception class. Still it throws some errors (remoting based or serialization based). If I try to use the [serializable] attribute it throws a deserialization error when I run the application. Please Please help as my work is stuck unless i solve this one. :doh: :confused: :((

    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