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

C#

 
GeneralRe: read write lock in C# Pin
Zoltan Balazs16-Apr-08 9:07
Zoltan Balazs16-Apr-08 9:07 
GeneralRe: read write lock in C# Pin
George_George16-Apr-08 17:29
George_George16-Apr-08 17:29 
GeneralRe: read write lock in C# [modified] Pin
N a v a n e e t h16-Apr-08 18:21
N a v a n e e t h16-Apr-08 18:21 
GeneralRe: read write lock in C# Pin
Zoltan Balazs16-Apr-08 19:38
Zoltan Balazs16-Apr-08 19:38 
GeneralRe: read write lock in C# Pin
N a v a n e e t h16-Apr-08 19:54
N a v a n e e t h16-Apr-08 19:54 
GeneralRe: read write lock in C# Pin
George_George17-Apr-08 1:41
George_George17-Apr-08 1:41 
GeneralRe: read write lock in C# Pin
N a v a n e e t h17-Apr-08 18:05
N a v a n e e t h17-Apr-08 18:05 
GeneralRe: read write lock in C# Pin
George_George17-Apr-08 19:32
George_George17-Apr-08 19:32 
Thanks N a v a n e e t h,


The only two cases when exception will be thrown in all operations of ReaderWriterLock are, right?

http://msdn2.microsoft.com/en-us/library/system.threading.readerwriterlock(VS.80).aspx[^]

1.

If the time-out interval expires and the lock request has not been granted, the method returns control to the calling thread by throwing an ApplicationException. A thread can catch this exception and determine what action to take next.

2.

If you specify a TimeSpan that represents a negative number of milliseconds other than -1, ArgumentOutOfRangeException is thrown.


regards,
George
GeneralForm window position when changing its size Pin
Blubbo16-Apr-08 4:05
Blubbo16-Apr-08 4:05 
GeneralRe: Form window position when changing its size Pin
Blubbo16-Apr-08 4:12
Blubbo16-Apr-08 4:12 
GeneralRe: Form window position when changing its size Pin
Muammar©16-Apr-08 10:03
Muammar©16-Apr-08 10:03 
QuestionHow to make a phone call? Pin
tcombs0716-Apr-08 3:56
tcombs0716-Apr-08 3:56 
AnswerRe: How to make a phone call? Pin
N a v a n e e t h16-Apr-08 4:00
N a v a n e e t h16-Apr-08 4:00 
GeneralRe: How to make a phone call? Pin
Ravenet16-Apr-08 16:10
Ravenet16-Apr-08 16:10 
AnswerRe: How to make a phone call? Pin
flippydeflippydebop16-Apr-08 4:27
flippydeflippydebop16-Apr-08 4:27 
AnswerRe: How to make a phone call? Pin
Bert delaVega16-Apr-08 7:10
Bert delaVega16-Apr-08 7:10 
AnswerRe: How to make a phone call? Pin
Judah Gabriel Himango16-Apr-08 8:19
sponsorJudah Gabriel Himango16-Apr-08 8:19 
GeneralRe: How to make a phone call? Pin
Muammar©16-Apr-08 9:58
Muammar©16-Apr-08 9:58 
AnswerRe: How to make a phone call? Pin
Ravenet16-Apr-08 16:12
Ravenet16-Apr-08 16:12 
GeneralRe: How to make a phone call? Pin
tcombs0717-Apr-08 6:18
tcombs0717-Apr-08 6:18 
GeneralRe: How to make a phone call? Pin
Ravenet17-Apr-08 15:32
Ravenet17-Apr-08 15:32 
GeneralListView - Maximum # of rows Pin
flippydeflippydebop16-Apr-08 3:07
flippydeflippydebop16-Apr-08 3:07 
GeneralRe: ListView - Maximum # of rows Pin
flippydeflippydebop16-Apr-08 3:36
flippydeflippydebop16-Apr-08 3:36 
Question[Message Deleted] Pin
invader8216-Apr-08 2:29
invader8216-Apr-08 2:29 
GeneralDispose pattern in class derivation Pin
George_George16-Apr-08 1:29
George_George16-Apr-08 1:29 

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.