Yo

Yo

  • NA
  • 1
  • 0

WCF return value is converted to output arguments

Jan 4 2010 7:55 AM

Hey, I have a method in my WCF service that returns a Boolean:

[OperationContract]

bool StartService(string serviceName, string agentIpAddress);

 

Problem is that when I address this service,

This method returns the boolean via 2 extra output arguments (method has no return value - void)

 

StartService (serviceName, agentIpAddress, out startRes, out startResSpecified);

 

This ruins my backward compatability,

Is there anyway to avoid this and leave the method signature as is? (2 arguments, return value bool)