What is the BeginReceive method?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is the BeginReceive method?

Rating:

The BeginReceive method is used to initiate an asynchronous receive operation. This is done by allowing the Message Queuing to begin receiving a message and notify the event handler when it is completed. There are five overloaded BeginReceive methods, which are as follows:

NameDescription
BeginReceive() It is used to initiate an asynchronous receive operation. This operation has no time-out. The operation is incomplete until a message becomes available in the queue.
BeginReceive (TimeSpan) It is used to initiate an asynchronous receive operation. This operation has a specified time-out. The operation is incomplete until either a message becomes available in the queue or the time-out occurs.
BeginReceive (TimeSpan, Object) It is used to initiate an asynchronous receive operation. This operation has a specified time-out and a specified state object. It provides associated information throughout the lifetime of the operation. The operation is incomplete until either a message becomes available in the queue or the time-out occurs.
BeginReceive (TimeSpan, Object, AsyncCallback) It is used to initiate an asynchronous receive operation. This operation has a specified time-out, a specified state object, and a specified AsyncCallback object. It provides associated information throughout the lifetime of the operation. The operation is incomplete until either a message becomes available in the queue or the time-out occurs.
BeginReceive (TimeSpan, Cursor, ReceiveAction, Object, AsyncCallback) It is used to initiate an asynchronous receive operation. This operation has a specified time-out, a specified cursor, a specified receives action, and a specified state object. The state object provides information throughout the lifetime of the operation. It receives notification, through a callback. The operation is incomplete until either a message becomes available in the queue or the time-out occurs.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.