Click here to Skip to main content
16,011,383 members
Home / Discussions / C#
   

C#

 
Questionc# alarm class - implementation? Pin
AndrewCherry4-Dec-03 3:58
AndrewCherry4-Dec-03 3:58 
AnswerRe: c# alarm class - implementation? Pin
Colin Angus Mackay4-Dec-03 4:06
Colin Angus Mackay4-Dec-03 4:06 
AnswerRe: c# alarm class - implementation? Pin
Not Active4-Dec-03 4:09
mentorNot Active4-Dec-03 4:09 
QuestionHow to capture data from the local serial port through a Aspx page situated in a Web Server ?? Pin
Nuno Silva4-Dec-03 3:58
Nuno Silva4-Dec-03 3:58 
AnswerRe: How to capture data from the local serial port through a Aspx page situated in a Web Server ?? Pin
Colin Angus Mackay4-Dec-03 4:03
Colin Angus Mackay4-Dec-03 4:03 
GeneralRe: How to capture data from the local serial port through a Aspx page situated in a Web Server ?? Pin
Nuno Silva4-Dec-03 6:10
Nuno Silva4-Dec-03 6:10 
GeneralAOP - Modifying a IMethodReturnMessage Pin
bzurer4-Dec-03 3:47
bzurer4-Dec-03 3:47 
GeneralRe: AOP - Modifying a IMethodReturnMessage Pin
Heath Stewart4-Dec-03 5:20
protectorHeath Stewart4-Dec-03 5:20 
You'll have to extend RealProxy with your own class and override Invoke. Implement IMethodReturnMessage and then you can access the IDictionary through the IMessage.Properties (since IMethodReturnMessage implements IMessage). To make sure that the ContextBoundObject uses your RealProxy instead, derive from ProxyAttribute to return an instance of your custom RealProxy and attribute your ContextBoundObject with your derived ProxyAttribute (see the SDK documentation for ProxyAttribute for an example).

If you also see the SDK documentation for the RealProxy.Invoke abstract method, you'll see an example of how this can be done as well.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: AOP - Modifying a IMethodReturnMessage Pin
bzurer4-Dec-03 10:27
bzurer4-Dec-03 10:27 
GeneralRe: AOP - Modifying a IMethodReturnMessage Pin
Heath Stewart4-Dec-03 10:50
protectorHeath Stewart4-Dec-03 10:50 
GeneralRe: AOP - Modifying a IMethodReturnMessage Pin
bzurer4-Dec-03 13:51
bzurer4-Dec-03 13:51 
GeneralRe: AOP - Modifying a IMethodReturnMessage Pin
Heath Stewart4-Dec-03 14:51
protectorHeath Stewart4-Dec-03 14:51 
GeneralRe: AOP - Modifying a IMethodReturnMessage Pin
bzurer4-Dec-03 22:29
bzurer4-Dec-03 22:29 
GeneralRe: AOP - Modifying a IMethodReturnMessage Pin
Heath Stewart5-Dec-03 3:10
protectorHeath Stewart5-Dec-03 3:10 
GeneralRe: AOP - Modifying a IMethodReturnMessage Pin
bzurer4-Dec-03 23:02
bzurer4-Dec-03 23:02 
GeneralUsing ::SendMessage in C# Pin
Andreas Philipson4-Dec-03 0:29
Andreas Philipson4-Dec-03 0:29 
GeneralRe: Using ::SendMessage in C# Pin
Heath Stewart4-Dec-03 5:04
protectorHeath Stewart4-Dec-03 5:04 
GeneralRe: Using ::SendMessage in C# Pin
Andreas Philipson4-Dec-03 5:18
Andreas Philipson4-Dec-03 5:18 
GeneralRe: Using ::SendMessage in C# Pin
Andreas Philipson4-Dec-03 5:23
Andreas Philipson4-Dec-03 5:23 
GeneralJournal Hook Pin
lajiyo3-Dec-03 22:18
lajiyo3-Dec-03 22:18 
GeneralHide Commandbars in word doc shown in axWebBrowser... Pin
Martin Jonsson3-Dec-03 20:02
Martin Jonsson3-Dec-03 20:02 
GeneralRe: Hide Commandbars in word doc shown in axWebBrowser... Pin
Heath Stewart4-Dec-03 4:53
protectorHeath Stewart4-Dec-03 4:53 
GeneralC# Threads Pin
Anonymous3-Dec-03 19:35
Anonymous3-Dec-03 19:35 
GeneralRe: C# Threads Pin
Anonymous4-Dec-03 2:16
Anonymous4-Dec-03 2:16 
GeneralRe: C# Threads Pin
Heath Stewart4-Dec-03 4:40
protectorHeath Stewart4-Dec-03 4:40 

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.