Click here to Skip to main content
15,891,657 members
Home / Discussions / C#
   

C#

 
AnswerRe: On Error Resume Next Pin
Dave Kreskowiak17-Jan-11 18:59
mveDave Kreskowiak17-Jan-11 18:59 
AnswerRe: On Error Resume Next Pin
Abhinav S17-Jan-11 20:55
Abhinav S17-Jan-11 20:55 
AnswerRe: On Error Resume Next Pin
OriginalGriff17-Jan-11 21:20
mveOriginalGriff17-Jan-11 21:20 
GeneralRe: On Error Resume Next Pin
nlarson1118-Jan-11 3:43
nlarson1118-Jan-11 3:43 
GeneralRe: On Error Resume Next Pin
OriginalGriff18-Jan-11 4:00
mveOriginalGriff18-Jan-11 4:00 
GeneralRe: On Error Resume Next Pin
nlarson1118-Jan-11 4:16
nlarson1118-Jan-11 4:16 
GeneralRe: On Error Resume Next Pin
Matty2220-Jan-11 15:16
Matty2220-Jan-11 15:16 
AnswerRe: On Error Resume Next Pin
_Erik_18-Jan-11 4:22
_Erik_18-Jan-11 4:22 
AnswerRe: On Error Resume Next [modified] Pin
Dave Doknjas18-Jan-11 10:09
Dave Doknjas18-Jan-11 10:09 
QuestionComponent design-time adjust control boundaries Pin
Chris Copeland17-Jan-11 11:27
mveChris Copeland17-Jan-11 11:27 
QuestionSorting objects in a dictionary into corresponding Pairs... Pin
roman_s17-Jan-11 9:47
roman_s17-Jan-11 9:47 
AnswerRe: Sorting objects in a dictionary into corresponding Pairs... Pin
roman_s17-Jan-11 10:56
roman_s17-Jan-11 10:56 
AnswerRe: Sorting objects in a dictionary into corresponding Pairs... Pin
Henry Minute17-Jan-11 11:25
Henry Minute17-Jan-11 11:25 
Questionusb device (not the storage volume type) Pin
Blubbo17-Jan-11 9:06
Blubbo17-Jan-11 9:06 
AnswerRe: usb device (not the storage volume type) Pin
Michael900017-Jan-11 9:19
Michael900017-Jan-11 9:19 
GeneralRe: usb device (not the storage volume type) Pin
Blubbo19-Jan-11 9:54
Blubbo19-Jan-11 9:54 
QuestionWierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 8:32
Michael900017-Jan-11 8:32 
AnswerRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 11:17
professionalRavi Bhavnani17-Jan-11 11:17 
QuestionRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 11:49
Michael900017-Jan-11 11:49 
AnswerRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 11:53
professionalRavi Bhavnani17-Jan-11 11:53 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 12:13
Michael900017-Jan-11 12:13 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani17-Jan-11 12:22
professionalRavi Bhavnani17-Jan-11 12:22 
Does this help?
public static List<Assignment> Test()
{
   // Create the proxy
   MaintenanceService svc = new MaintenanceService();
   svc.InnerChannel.OperationTimeout = new TimeSpan (1, 0, 0);  // 1 hr timeout!

   // Get results
   List<Assignment> ret = svc.GetAssignments().ToList<Assignment>();
   Debug.Assert (ret != null);

   // Return a separate list
   List<Assignment> assignments = new List<Assignment>();
   foreach (Assignment a in ret) {
       assignments.Add (a);
   }
   return assignments;
}

/ravi
My new year resolution: 2048 x 1536
Home | Articles | My .NET bits | Freeware
ravib(at)ravib(dot)com

GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900017-Jan-11 12:48
Michael900017-Jan-11 12:48 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Michael900018-Jan-11 5:02
Michael900018-Jan-11 5:02 
GeneralRe: Wierd exceptions when calling WCF more than once from a static class Pin
Ravi Bhavnani18-Jan-11 5:57
professionalRavi Bhavnani18-Jan-11 5:57 

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.