.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> ASP.Net >> Post New Question Subscribe to Interview Questions

Can we set priority (High, Medium, Low) of the mail sent via ASP.NET?

Posted By :Virendra Dugar     Posted Date :October 12, 2009    Points :10   Category :ASP.Net 
Yes..

You can also find related Interview Question to Can we set priority (High, Medium, Low) of the mail sent via ASP.NET?  below: 

Minimum number of queues needed to implement the priority queue?

  
Two. One queue is used for actual storing of data and another for storing priorities. (More...)

How can we change priority and what the levels of priority are provided by .NET ?

  
Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest. In the sample provided look out for code where the second thread is ran with a high priority.
Following are different levels of Priority provided by .NET :-
. ThreadPriority.Highest
. ThreadPriority.AboveNormal
. ThreadPriority.Normal
. ThreadPriority.BelowNormal
. ThreadPriority.Lowest (More...)

Which method would you call to send an e-mail message and wait for the transmission to complete before proceeding?

  
Select from following answers:

1.MailMessage.Send
2.SmtpClient.Send
3.SmtpClient.SendAsync
4.MailMessage.SendAsync

Correct Answer is:

SmtpClient.Send (More...)

Fiber Optic Medium?

  
1. Consists of centre glass core surrounded by cladding.

2. Electrical signals are converted into light signals.

3. A phenomenon called as total internal reflection is used for transmission.

4. LED or laser is used to transmit signal (More...)

Wireless Medium?

  
1. Unguided form of transmission medium .

2. Transmitters and receivers are used to send and receive signals.

3. Involves use of electromagnetic waves such as microwave, infrared, radio waves etc.

4. Wireless medium is useful in connecting large geographical areas (More...)

Select the correct statement that sets the priority of a thread among a group of threads to maximum.

  
1, threadObj.getPriority(THREAD.MAX_PRIORITY);
2, threadObj.setPriority(MAX_PRIORITY);
3, threadObj.setPriority(THREAD.PRIORITY);
4, threadObj.setPriority(THREAD.MAX_PRIORITY);

Answer : 4 (More...)

Write a SQL query to send mail, whenever a new record is inserted into a table using Sqlserver 2000.

  
Here we have to create a trigger on required table as show below.


CREATE TRIGGER SendRem
ON TableX
AFTER INSERT
AS

EXEC master..xp_sendmail
@recipients='you@you.com',
@message = 'body'
@subject = 'foo was fired.'
GO
(More...)

How can we change priority and what the levels of priority are
provided by .NET ?

  
Thread Priority can be changed by using Threadname.Priority = <>
In the sample provided look out for code where the second thread is ran with a high
priority. (More...)

Different levels of Priority provided by .NET.

  
i) ThreadPriority.Highest
ii) ThreadPriority.AboveNormal
iii) ThreadPriority.Normal
iv) ThreadPriority.BelowNormal
v) ThreadPriority.Lowest (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend