ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  VB.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
what are the types of threading models in VB.net ?
 Question Submitted By :: Sweety
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what are the types of threading models in VB.net ?
Answer
# 1
There are lot of threading model available, but we focus on 
threadingmodels that are common to win32based environments

singleThreaded:There is only one thread with in the 
process,and it is doing all the work for the process.The 
process must wait for the current execution of the thread 
to complete before it can perform another action.

Apartment Threading (Single Threaded Apartment)
Apartment threaded means there are multiple threads within 
the application. In single threaded apartment (STA) each 
thread is isolated in a separate apartment underneath the 
process. The process can have any number of apartments that 
share data through a proxy. The application defines when 
and for how long the thread in each apartment should 
execute. All requests are serialized through the Windows 
message queue such that only a single apartment is accessed 
at a time and thus only a single thread will be executing 
at any one time
Free Threading (Multi Threaded Apartment)
Free threaded applications were limited to programming 
languages such as C++ until the release of Microsoft .NET. 
The free threaded/Multi Threaded Apartment (MTA) model has 
a single apartment created underneath the process rather 
than multiple apartments. This single apartment holds 
multiple threads rather than just a single thread. No 
message queue is required because all of the threads are a 
part of the same apartment and can share data without a 
proxy.

The developer must provide thread synchronization as part 
of the code to ensure that threads do not simultaneously 
access the same resources
 
Is This Answer Correct ?    3 Yes 1 No
Praveena
 

 
 
 
Other VB.NET Interview Questions
 
  Question Asked @ Answers
 
Write a program for calculator in VB.NET CMC5
How does you call and execute a SP in .NET?  2
Can we use a crystal report into a another crystal report  6
Regarding Types of compatability in VB and their usage ? Satyam1
Hi I am planning to take interview in VB.net,can any one share your interview Questions for a Entry-level job. Regards Lina  3
What is the Common Language Runtime? Ksb8
In order to get assembly info whcih namespace we should import?  1
1234 123 12 1 how to design above pic in vb.net? ABC2
how to send data to exe file? my code has a button when i press it, an exe file will open. how can i send data as input to the exe file?  2
There are three versions of VB6--Learning Edition, Professional and Enterprise. Is VB.Net similar?  1
How do you declare static variable and how it is declared and what is its lifetime? Infosys3
What are the objects in asp.net and tell the purpose of those objects Ascent2
what are Fixed memory leaks and threads locking problems.  1
hi dear ! thank u for replying to my question regarding adding third party software in vb.net .My next question is that i haven created Data base in SQL server 2000 for Library and has connected that with VB and VB.net separately but it only works on single computer and when i takes my software to another computer on same Network it does not work . Can any body help me what i do to solve. Regards!  1
What is the Difference between CLR & CTS?  2
ColumnMapping belongs to which namespaces?  1
In Datagrid after adding row, how you will assign the value for each cell to currently added new row?  1
how to create crystal reports in asp.net & vb.net with syntax  1
What is the Difference between Overriding and overloading?  11
how to get sum of two numbers in vb.net?  2
 
For more VB.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com