PrepAway - Latest Free Exam Questions & Answers

Which ReliableSessionBindingElement property should you configure?

You are developing a Windows Communication Foundation (WCF) service. Client applications require reliable sessions to access the service.
Users report that they receive ServerTooBusyException errors when their client application tries to establish a session.
You need to ensure that the service can handle a minimum of 30 client connection requests.
Which ReliableSessionBindingElement property should you configure?

PrepAway - Latest Free Exam Questions & Answers

A.
MaxRetryCount

B.
MaxTransferWindowSize

C.
MaxPendingChannels

D.
InactivityTimeout

Explanation:
ReliableSessionBindingElement Class
Represents the binding element that can produce the sending and receiving channels required for a reliable session between endpoints.

MaxPendingChannels property
Channels are pending when they are waiting to be accepted. Once that limit is reached,
no channels are created and put in pending mode until this number goes down (by accepting pending channels).
This is a limit for each listener.

When the threshold is reached and a remote application tries to establish a new reliable session,
the request is denied and the open operation that prompted this faults.

MaxPendingChannels Gets or sets the largest number of channels that can be pending during the reliable session.
MaxRetryCount Gets or sets the maximum number of times that a message attempts to be transferred during the reliable session.
MaxTransferWindowSize Gets or sets the largest number of messages that can exist in either the send buffer or the receive buffer.
InactivityTimeout Gets or sets an interval of time that a service remains inactive before closing.

ReliableSessionBindingElement Class
(http://msdn.microsoft.com/en-us/library/system.servicemodel.channels.reliablesessionbindingelement.aspx)

One Comment on “Which ReliableSessionBindingElement property should you configure?


Leave a Reply