A Windows Communication Foundation (WCF) client and service share the following service contract interface:<br /> <br /> [ServiceContract]<br /> public interface IContosoService<br /> {<br /> [OperationContract]<br /> void SavePerson(Person person);<br /> }<br /> <br /> They also use the following binding:<br /> NetTcpBinding binding = new NetTcpBinding( ) { TransactionFlow = true };<br /> <br /> The client calls the service with the following code:<br /> using (TransactionScope ts = new TransactionScope(TransactionScopeOption.Required))<br /> {<br /> IContosoService client = factory.CreateChannel( );<br /> client.SavePerson(person);<br /> Console.WriteLine(Transaction.Current.TransactionInformation.DistributedIdentifier);<br /> ts.Complete( );<br /> }<br /> <br /> The service has the following implementation for SavePerson:<br /> <br /> public void IContosoService.SavePerson(Person person)<br /> {<br /> person.Save( );<br /> Console.WriteLine(Transaction.Current.TransactionInformatio
A、
B、
C、
D、