|
Thanks Zoltan!
What means "internal exception"? Which exception in your sample is internal exception? (Is internal exception something that is CLR internal used exception type, which is not exposed?)
regards,
George
|
|
|
|
|
The DivideByZero is the internal exception. I guess the term internal means in this context that the exception will be one of the type derived from System.Exception.
|
|
|
|
|
Thanks Zoltan,
I read the documents you referred before again, there is a statement "provides a backstop for certain unhandled exceptions", backstop means?
regards,
George
|
|
|
|
|
google it![^]
You don't need to understand each word in a documentation. Try to understand the principles and the rest will follow in time.
|
|
|
|
|
Thanks Zoltan,
I understand what is the meaning of backstop in English. But I do not understand what means "provides a backstop for certain unhandled exceptions" in the context. Does it mean for the scenarios listed in the MSDN page, CLR will prevent process will termination by a backstop? I do not think so, I have tested uncaught exception will cause process terminated. So, what makes me confused is what means "provides a backstop for certain unhandled exceptions".
Any ideas?
--------------------
- A ThreadAbortException is thrown in a thread because Abort was called.
- An AppDomainUnloadedException is thrown in a thread because the application domain in which the thread is executing is being unloaded.
- The common language runtime or a host process terminates the thread by throwing an internal exception.
--------------------
regards,
George
|
|
|
|
|
Follow the text:
"If any of these exceptions are unhandled in threads created by the common language runtime, the exception terminates the thread, but the common language runtime does not allow the exception to proceed further."
So it's exactly what is said there: backstop meaning that the application will be terminated.
|
|
|
|
|
Thanks Zoltan,
I have made some self-tests and I want to confirm with you that (sorry for my bad English), "the application will be terminated" means process termination because of unhandled exception from a thread?
regards,
George
|
|
|
|
|
It means process termination if you prefer that way, with an error dialog showing up. You know!
|
|
|
|
|
Sure, Zoltan!
I have tested scenarios, for normal thread, thread pool and asynchronous method call, if there is unhandled exception in such threads, the process will terminated.
My confusion is, why specifically mention ThreadAbortException and AppDomainUnloadedException here? Any unhandled exception will cause process termination, why specially mention the two exceptions?
regards,
George
|
|
|
|
|
i have take one richtext control and and i insert a data that data is saved to the database oracle but when i retrive the same data that data is display but problem is display data is automatical refreshed
what i can do plz give me replay
|
|
|
|
|
Can you please elaborate on "data is automatical refreshed"?
|
|
|
|
|
1 - try reading hte guide on how to ask questions. Clue - your header does not help at all
2 - if it's so urgent, you should try at least explaining it clearly. What do you mean, it's automatically refreshed ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
ssrirambatlasripad wrote: urgent
All problems are urgent. If it really needs a realtime attention, you ought to pursue with a paid support from the vendor. Discussion forums are intended with a voluntary support from various efforts getting together in assisting to solve the problem colloboratively. There can be no preempting a particular query for anyone over here.
I would suggest you first give a read to http://www.codeproject.com/kb/scrapbook/forumguidelines.aspx[^] before starting to use the message boards.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi,
I have written some custom rules for FxCop. Now i want to make sure that developers will be able to CHECK IN the code only if they follow the rules. If any one of you have come across this scenario, please help.
I am using VSTS 2005 and FxCop 1.35.
Where did error begin?
-- Naison Garvasis Pekkattil
|
|
|
|
|
|
Hi Vasudevan,
Thanks
Where did error begin?
-- Naison Garvasis Pekkattil
|
|
|
|
|
Hi!
All
I am new to this site..
I am in a situation where i want to change the owner of the file (*.txt,or any other) (local / remote)file.
I have successfullly written code to change the file's last modified date and time and as well as created time and date.
But I want to chanage the owner too.....
I unable to do this magic....
can anybody help me to come out of this....?
After Searching around 6 hrs (including this Codeproject) on Internet , I am finally posting here....
Thanks in Advance...
D.N.Raj
|
|
|
|
|
How does a file have an owner ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes ! File is having attribue of 'oWner'
We can see all the attributes in windows explorer by selecting from view->Details and right click below the address bar we can see the file size, type, owner, author, title, comments...etc..
Thanks
|
|
|
|
|
what is the use of PDB files on dotnet. i am developing a profiling application
shall i use the pdb file to point the exact code?
My small attempt...
|
|
|
|
|
|
Hello,
I have a datatable. I pass this datatable to a method and made some modifications to it. Once I do accpet changes the original datatable also get changed.
code is as below:
datatable dtUser;
dtUser = session["userdetails"]
obj.MakeChange(dtUser)
public void MakeChange(Datatable dt)
{
dt.Columns.Remove("Name");
dt.Columns.Remove("card");
dt.Acceptchanges()
}
Once the program executes dt.Acceptchanges()the original datatable also get changed : dtUser
I do not want this to happen. What can be done to this please suggest.
Regards,
Pavas
|
|
|
|
|
A datatable is not a value type, so it's always passed by reference. Use the Clone method to make a copy and pass that,in order to avoid this behaviour, or clone it inside your method.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks Chrstian
Regards,
Pavas
|
|
|
|
|
Please help me out for the following code
class myTreeView: TreeView
{
protected override void OnBeforeExpand(TreeViewCancelEventArgs e)
{
// doing some code childs nodes from the selected node
}
}//end class
// in the man form fro where i useing myTreeView
class MainForm
{
myTreeView my =new myTreeView();
// ok here the myTreeView it call the OnBeforeExpand events
//I want to use the code generated in the OnBeforExpand event to use in this class
}
Is there any method to get the information that get the event in the myTreeView class and in the Event OnBeforeExpand.
Can anybody tell me how can i sore the data when the OnBeforExpand evnet is call an i can use in MainForm
I am not getting the sequece of how to work on it.
|
|
|
|