Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
AnswerRe: Threading inside WCF Pin
AmitGajjar19-Mar-13 20:58
professionalAmitGajjar19-Mar-13 20:58 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 21:28
Nand3219-Mar-13 21:28 
GeneralRe: Threading inside WCF Pin
AmitGajjar19-Mar-13 22:26
professionalAmitGajjar19-Mar-13 22:26 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 23:02
Nand3219-Mar-13 23:02 
GeneralRe: Threading inside WCF Pin
AmitGajjar19-Mar-13 23:05
professionalAmitGajjar19-Mar-13 23:05 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 23:07
Nand3219-Mar-13 23:07 
GeneralRe: Threading inside WCF Pin
AmitGajjar19-Mar-13 23:12
professionalAmitGajjar19-Mar-13 23:12 
AnswerRe: Threading inside WCF Pin
Manfred Rudolf Bihy19-Mar-13 21:18
professionalManfred Rudolf Bihy19-Mar-13 21:18 
I'm quite reluctant to believe you're getting any kind of result at all as your code wouldn't even compile:
C#
[OperationContract]
public string GetData(int value)
{
    for (int i = 0; i < 4; i++)
    {
        Thread t = new Thread(() => simpleThread(i));
        t.Start();
    }
    // Since the signature of this method is String GetData(int)
    // This will never pass the compilation process as the method
    // needs to return a String
}

Compilation would fail because of the missing return statement.

Regards,
— Manfred

"I had the right to remain silent, but I didn't have the ability!"
Ron White, Comedian


GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 21:29
Nand3219-Mar-13 21:29 
GeneralRe: Threading inside WCF Pin
Manfred Rudolf Bihy19-Mar-13 22:09
professionalManfred Rudolf Bihy19-Mar-13 22:09 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 22:30
Nand3219-Mar-13 22:30 
GeneralRe: Threading inside WCF Pin
Manfred Rudolf Bihy19-Mar-13 22:51
professionalManfred Rudolf Bihy19-Mar-13 22:51 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 23:05
Nand3219-Mar-13 23:05 
GeneralRe: Threading inside WCF Pin
Steve4419-Mar-13 23:19
Steve4419-Mar-13 23:19 
GeneralRe: Threading inside WCF Pin
Nicholas Marty20-Mar-13 2:24
professionalNicholas Marty20-Mar-13 2:24 
AnswerRe: Threading inside WCF Pin
Steve4419-Mar-13 22:07
Steve4419-Mar-13 22:07 
GeneralRe: Threading inside WCF Pin
Nand3219-Mar-13 22:30
Nand3219-Mar-13 22:30 
AnswerRe: Threading inside WCF Pin
jschell20-Mar-13 8:49
jschell20-Mar-13 8:49 
GeneralRe: Threading inside WCF Pin
Steve4420-Mar-13 9:56
Steve4420-Mar-13 9:56 
QuestionBest way to integrate PowerPoint or slideviewer in C# Pin
Sachin k Rajput 19-Mar-13 20:22
Sachin k Rajput 19-Mar-13 20:22 
AnswerRe: Best way to integrate PowerPoint or slideviewer in C# Pin
Manfred Rudolf Bihy19-Mar-13 21:22
professionalManfred Rudolf Bihy19-Mar-13 21:22 
GeneralRe: Best way to integrate PowerPoint or slideviewer in C# Pin
Sachin k Rajput 19-Mar-13 22:51
Sachin k Rajput 19-Mar-13 22:51 
GeneralRe: Best way to integrate PowerPoint or slideviewer in C# Pin
DaveyM6920-Mar-13 0:26
professionalDaveyM6920-Mar-13 0:26 
GeneralRe: Best way to integrate PowerPoint or slideviewer in C# Pin
Sachin k Rajput 20-Mar-13 1:26
Sachin k Rajput 20-Mar-13 1:26 
Questionhow to index all the data from disk Pin
Member 888804419-Mar-13 7:53
Member 888804419-Mar-13 7:53 

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.