Articles → WCF → WCF Function Overloading

WCF Function Overloading






Implementation




[ServiceContract]
public interface IService1
{
        [OperationContract(Name="INT")]
        string GetData(int value);

        [OperationContract(Name = "STR")]        
        string GetData(string value);

        // TODO: Add your service operations here
}





Posted By  -  Karan Gupta
 
Posted On  -  Saturday, May 21, 2022

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250