Which code should be used?

DRAG DROP
Exhibit:
[ServiceContract]
public interface ITeamMessageService
{

[OperationContract]
string GetMessage0;
[OperationContract]
void PutMessage(string message);
}
There is a WCF (Windows Communication Foundation) service PassGuideService.
PassGuideService uses the contract being displayed in the exhibit.
PassGuideService is used to share messages between the clients.
You need to ensure that all the clients receive the same message from the GetMessage method,
even if the PutMessage method is used by another client.
Which code should be used?

DRAG DROP
Exhibit:
[ServiceContract]
public interface ITeamMessageService
{

[OperationContract]
string GetMessage0;
[OperationContract]
void PutMessage(string message);
}
There is a WCF (Windows Communication Foundation) service PassGuideService.
PassGuideService uses the contract being displayed in the exhibit.
PassGuideService is used to share messages between the clients.
You need to ensure that all the clients receive the same message from the GetMessage method,
even if the PutMessage method is used by another client.
Which code should be used?

Answer:

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *