ServicedComponents with C#

  • Thread starter Thread starter Kevin Jackson
  • Start date Start date
K

Kevin Jackson

Is there a way to view the contents of class member variables in a
ServicedComponent. It says that it cannot show the variables of a proxy or
something of that nature.
 
Hi Kevin

We have reviewed this issue and are currently researching on it. We will
update you ASAP. Thanks for your patience!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
Hi Kevin,

Thanks for your posting!

Can you show me some more detailed information of this issue?

I think you want to view the member variables at client. What language is
your client writen with? Is it also C# .net application?

When do you want to view ServicedComponent's member variables? At
design-time or run-time?

Based on my understanding, your client is writen in C# .net, and you want
to view the member variables information.

If you want to view it at design-time, you can refer the COM+ assembly, add
it through "Add Reference", and then, you can view the assembly
information(Including member variable) through View-> "Object Browser" menu
command.

If you want to view it at run-time dynamically, you should first load the
assembly, then you can get the assembly information through Reflection, for
more information, please refer to:
"How Do I...List all the members of a type?"
http://samples.gotdotnet.com/quickstart/howto/doc/ListMembers.aspx

=========================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
The C# ServicedComponent is in a library application being called from a C#
console app. Once I am broke in one of the component methds I cannot view
the member variables of the class.
 
Hi Kevin,

Thanks for your feedback.

Yes, you can just view the ServicedComponent in your library application
through "Object Browser".

In your console C# application, select View->"Object Browser"(Or just press
Ctrl+Alt+ J). In the "Object Browser" window, click "Customize..." button.
In the "Selected Components" dialog, select "External Components and
Libraries" then click "Add..." button. In the follow up "Component
Selector" dialog, click "Browse..." button. Then you can navigate and
select your library application's assembly.

Note: if your library application is an exe file, you should change the
"File of Type" dropdownlist to "Executable Files (*.exe; *.dll)"

Then, after pressing a series of "Ok" button, you can view your libray
application's object model in a Tree view style.

===========================================
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi Kevin,

Does my reply make sense to you? Do you still have any concern on this
issue?

Please feel free to post. Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top