You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You write the following code segment for the service contract.
(Line numbers are included for reference only.)
01 [ServiceContract]
02
03 public class MyService
04 {
05 …
06 }
The service uses transactions that time out in a minute.
You need to increase the timeout interval of the transactions to 2 minutes and 30 seconds
Which code segment should you insert at line 02?
A.
[ServiceBehavior(TransactionTimeout="150")]
B.
[ServiceBehavior(TransactionTimeout="0:2:30")]
C.
[ServiceBehavior(TransactionTimeout="2:30:00")]
D.
[ServiceBehavior(TransactionTimeout="0:150:00")]