Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
AnswerRe: Combobox in C# : how to add for each Item a Tag ? Pin
Skynyrd7-Dec-04 13:29
Skynyrd7-Dec-04 13:29 
AnswerRe: Combobox in C# : how to add for each Item a Tag ? Pin
Heath Stewart7-Dec-04 14:47
protectorHeath Stewart7-Dec-04 14:47 
AnswerRe: Combobox in C# : how to add for each Item a Tag ? Pin
Luis Alonso Ramos8-Dec-04 21:24
Luis Alonso Ramos8-Dec-04 21:24 
GeneralDynamicInvoke a remote object Pin
Skynyrd7-Dec-04 12:21
Skynyrd7-Dec-04 12:21 
GeneralRe: DynamicInvoke a remote object Pin
Heath Stewart7-Dec-04 14:48
protectorHeath Stewart7-Dec-04 14:48 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 0:57
Skynyrd8-Dec-04 0:57 
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano7-Dec-04 15:02
Javier Lozano7-Dec-04 15:02 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 1:08
Skynyrd8-Dec-04 1:08 
Hi javier,

thanks for the info.
I can call any method I want of my remote object through its transparent proxy without any problems.

The problem is that I want to localize in one piece of code all the exception handling of the SocketException that gets thrown when the server where the remote object lives is not accessible to the client app that calls one if its methods.

There r two ways around it that I could find right now:

1) Implement the exception handling on all remote calls throughout my code.

2) Create a SingleCallManager object with a generic RunMethod method that will dinamycally link any method calls to the remoteobject (loss of performance is not an issue) dynamically invoking the call to its proxy like you would with any other object. The problem is, that the same piece of code will link perfectly to a dummy non remote class but it will not link to the remote object throwing the exception i've included in the reply to Heath's post. Through this RunMethod method I would be able to localize all excpetion handling of any method call due to a connection failure to the server in one place.
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano8-Dec-04 5:07
Javier Lozano8-Dec-04 5:07 
GeneralRe: DynamicInvoke a remote object Pin
Heath Stewart8-Dec-04 5:58
protectorHeath Stewart8-Dec-04 5:58 
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano8-Dec-04 6:03
Javier Lozano8-Dec-04 6:03 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 11:26
Skynyrd8-Dec-04 11:26 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 11:43
Skynyrd8-Dec-04 11:43 
GeneralRe: DynamicInvoke a remote object Pin
Javier Lozano8-Dec-04 12:06
Javier Lozano8-Dec-04 12:06 
GeneralRe: DynamicInvoke a remote object Pin
Skynyrd8-Dec-04 13:18
Skynyrd8-Dec-04 13:18 
GeneralHTML style RichTextBox control Pin
Beringer7-Dec-04 12:06
Beringer7-Dec-04 12:06 
GeneralRe: HTML style RichTextBox control Pin
Beringer7-Dec-04 12:08
Beringer7-Dec-04 12:08 
GeneralRe: HTML style RichTextBox control Pin
Heath Stewart7-Dec-04 14:44
protectorHeath Stewart7-Dec-04 14:44 
GeneralSockets and Win2k Issues Pin
Tristan Rhodes7-Dec-04 11:34
Tristan Rhodes7-Dec-04 11:34 
GeneralRe: Sockets and Win2k Issues Pin
Heath Stewart7-Dec-04 14:27
protectorHeath Stewart7-Dec-04 14:27 
GeneralRe: Sockets and Win2k Issues Pin
Tristan Rhodes8-Dec-04 0:25
Tristan Rhodes8-Dec-04 0:25 
GeneralRe: Sockets and Win2k Issues Pin
Daniel Turini7-Dec-04 20:12
Daniel Turini7-Dec-04 20:12 
GeneralRe: Sockets and Win2k Issues Pin
Tristan Rhodes8-Dec-04 0:26
Tristan Rhodes8-Dec-04 0:26 
GeneralRe: Sockets and Win2k Issues Pin
Heath Stewart8-Dec-04 6:01
protectorHeath Stewart8-Dec-04 6:01 
GeneralFree Lightweight C# SDE Pin
Tristan Rhodes7-Dec-04 8:30
Tristan Rhodes7-Dec-04 8:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.