Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: string[] to Microsoft.Exchange.Data.MultiValuedProperty Pin
JD8625-Jan-13 3:41
JD8625-Jan-13 3:41 
QuestionI need help with my drag and drop code Pin
cdaviesp23-Jan-13 10:24
cdaviesp23-Jan-13 10:24 
AnswerRe: I need help with my drag and drop code Pin
pt140125-Jan-13 9:19
pt140125-Jan-13 9:19 
Questionnested try catch block Pin
000mann00023-Jan-13 6:59
000mann00023-Jan-13 6:59 
GeneralRe: nested try catch block Pin
PIEBALDconsult23-Jan-13 7:06
mvePIEBALDconsult23-Jan-13 7:06 
GeneralRe: nested try catch block Pin
000mann00023-Jan-13 7:11
000mann00023-Jan-13 7:11 
GeneralRe: nested try catch block Pin
PIEBALDconsult23-Jan-13 7:12
mvePIEBALDconsult23-Jan-13 7:12 
AnswerRe: nested try catch block Pin
Paulo Zemek23-Jan-13 7:23
mvaPaulo Zemek23-Jan-13 7:23 
C#
try
{
  try
  {
    throw new Exception();
  }
  catch(Exception exception)
  {
    throw; // this rethrows the caugh exception.
  }
}
catch(Exception exception2)
{
  // here you will get the same exception as you got in the
  // other catch.
  // Note that I used throw; to rethrow the exception. If on the
  // other catch I did a throw exception; I would end-up replacing
  // the stored callstack (that's usually a bad thing).
}


Note: You can also avoid catching the exception by putting a more specific type in the first catch (like IOException instead of Exception).
GeneralRe: nested try catch block Pin
000mann00023-Jan-13 7:25
000mann00023-Jan-13 7:25 
QuestionClient is not connecting to the server Pin
Skytten23-Jan-13 5:33
Skytten23-Jan-13 5:33 
AnswerRe: Client is not connecting to the server Pin
OriginalGriff23-Jan-13 5:41
mveOriginalGriff23-Jan-13 5:41 
GeneralRe: Client is not connecting to the server Pin
Skytten23-Jan-13 5:55
Skytten23-Jan-13 5:55 
GeneralRe: Client is not connecting to the server Pin
OriginalGriff23-Jan-13 6:07
mveOriginalGriff23-Jan-13 6:07 
GeneralRe: Client is not connecting to the server Pin
Skytten23-Jan-13 6:09
Skytten23-Jan-13 6:09 
GeneralRe: Client is not connecting to the server Pin
OriginalGriff23-Jan-13 6:20
mveOriginalGriff23-Jan-13 6:20 
GeneralRe: Client is not connecting to the server Pin
Skytten23-Jan-13 6:26
Skytten23-Jan-13 6:26 
GeneralRe: Client is not connecting to the server Pin
OriginalGriff23-Jan-13 8:04
mveOriginalGriff23-Jan-13 8:04 
GeneralRe: Client is not connecting to the server Pin
Skytten23-Jan-13 10:03
Skytten23-Jan-13 10:03 
GeneralRe: Client is not connecting to the server Pin
OriginalGriff24-Jan-13 0:04
mveOriginalGriff24-Jan-13 0:04 
GeneralRe: Client is not connecting to the server Pin
Skytten24-Jan-13 12:57
Skytten24-Jan-13 12:57 
QuestionC# parameters Pin
classy_dog23-Jan-13 4:37
classy_dog23-Jan-13 4:37 
AnswerRe: C# parameters Pin
Richard MacCutchan23-Jan-13 5:04
mveRichard MacCutchan23-Jan-13 5:04 
GeneralRe: C# parameters Pin
PIEBALDconsult23-Jan-13 5:29
mvePIEBALDconsult23-Jan-13 5:29 
AnswerRe: C# parameters Pin
jschell23-Jan-13 8:59
jschell23-Jan-13 8:59 
AnswerRe: C# parameters Pin
BC @ CV23-Jan-13 10:17
BC @ CV23-Jan-13 10:17 

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.