Click here to Skip to main content
15,923,120 members
Home / Discussions / C#
   

C#

 
AnswerRe: A Question About MSMQ(Microsoft Message Queue) Pin
Jason_Shen23-Feb-09 2:25
Jason_Shen23-Feb-09 2:25 
GeneralRe: A Question About MSMQ(Microsoft Message Queue) Pin
Jimmanuel23-Feb-09 3:35
Jimmanuel23-Feb-09 3:35 
GeneralRe: A Question About MSMQ(Microsoft Message Queue) Pin
Jason_Shen23-Feb-09 6:10
Jason_Shen23-Feb-09 6:10 
GeneralRe: A Question About MSMQ(Microsoft Message Queue) Pin
Jimmanuel23-Feb-09 6:58
Jimmanuel23-Feb-09 6:58 
GeneralRe: A Question About MSMQ(Microsoft Message Queue) Pin
Jason_Shen23-Feb-09 15:30
Jason_Shen23-Feb-09 15:30 
GeneralRe: A Question About MSMQ(Microsoft Message Queue) Pin
Jimmanuel23-Feb-09 16:05
Jimmanuel23-Feb-09 16:05 
GeneralRe: A Question About MSMQ(Microsoft Message Queue) Pin
Jason_Shen23-Feb-09 16:26
Jason_Shen23-Feb-09 16:26 
GeneralRe: A Question About MSMQ(Microsoft Message Queue) Pin
Jimmanuel24-Feb-09 1:00
Jimmanuel24-Feb-09 1:00 
QuestionCrystal Pin
Stephen Lintott22-Feb-09 21:30
Stephen Lintott22-Feb-09 21:30 
Questionconnecting remote mysql database using c#.net Pin
dilip51422-Feb-09 20:04
dilip51422-Feb-09 20:04 
AnswerRe: connecting remote mysql database using c#.net Pin
dan!sh 22-Feb-09 20:11
professional dan!sh 22-Feb-09 20:11 
AnswerRe: connecting remote mysql database using c#.net Pin
Christian Graus22-Feb-09 21:04
protectorChristian Graus22-Feb-09 21:04 
AnswerRe: connecting remote mysql database using c#.net Pin
EliottA23-Feb-09 2:47
EliottA23-Feb-09 2:47 
QuestionCheckbox Pin
mrithula822-Feb-09 19:33
mrithula822-Feb-09 19:33 
AnswerRe: Checkbox Pin
dan!sh 22-Feb-09 19:50
professional dan!sh 22-Feb-09 19:50 
AnswerRe: Checkbox Pin
Eslam Afifi22-Feb-09 19:52
Eslam Afifi22-Feb-09 19:52 
AnswerRe: Checkbox Pin
RobScripta23-Feb-09 7:27
professionalRobScripta23-Feb-09 7:27 
QuestionProblem in Multiple Insertion with TransactionScope. Pin
hdv21222-Feb-09 18:59
hdv21222-Feb-09 18:59 
AnswerRe: Problem in Multiple Insertion with TransactionScope. Pin
dan!sh 22-Feb-09 20:04
professional dan!sh 22-Feb-09 20:04 
GeneralRe: Problem in Multiple Insertion with TransactionScope. Pin
hdv21224-Feb-09 0:06
hdv21224-Feb-09 0:06 
QuestionAbout Restricted method Pin
rajanbabu_03322-Feb-09 18:49
rajanbabu_03322-Feb-09 18:49 
AnswerRe: About Restricted method Pin
ABitSmart22-Feb-09 20:30
ABitSmart22-Feb-09 20:30 
QuestionAbout GetMethods In Reflection Pin
rajanbabu_03322-Feb-09 18:48
rajanbabu_03322-Feb-09 18:48 
AnswerRe: About GetMethods In Reflection Pin
Calin Tatar22-Feb-09 23:37
Calin Tatar22-Feb-09 23:37 
GeneralRe: About GetMethods In Reflection Pin
rajanbabu_03323-Feb-09 19:44
rajanbabu_03323-Feb-09 19:44 
Thanks a lot Calin.It's working fine.This solution is very much helpful for my project.
I have one more clarification also please help me if possible,

Issue :
I hope you are aware that restricted methods are not available for Visual basic users.
E.g.,
interface IFunctionParameterDemo : IDispatch
{
[id(1),restricted,helpstring("method Display")] HRESULT Display();
[id(2),helpstring("method Calculate")] HRESULT Calculate();
};

coclass FunctionParameterDemo
{
[default] interface IFunctionParameterDemo;
};

Here method Display() is marked as restricted by the attribute restricted.So we can't use this method from Visual basic(If we call this method from VB,during compile time it will show error as "Method or Interface marked as restricted")

In reflection is there any way to filter out these restricted methods?

Type t = GetType(FunctionParameterDemo);
MethodInfo[] mInfo = t.GetMethods();
foreach (MethodInfo m in mInfo)
{
System.Console.WriteLine(m.Name);
}

output:
Display()
Calculate()

But I want the output : Calculate()

using GetMethods() i want to get the result of Calculate()alone.It should filter out restricted method Display().


Regards,
M.Rajanbabu.

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.