Tuesday, September 11, 2012

Overloading in WCF

Using the "Name" we can achieve operational overloading

interface IInterfaceName
{
  [OperationContract (Name = "aliasName1")]
  int MethodName (int param1, int param2);

  [OperationContract (Name = "aliasName2")]
  double MethodName (double param1, double param1);
}


No comments:

Post a Comment