i add the wcf service reference and tick the option called Generate Asynchronous Operation. i found proxy code was added like this way....
public interface ICalculator {
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICalculator/Add", ReplyAction="http://tempuri.org/ICalculator/AddResponse")]
double Add(double n1, double n2);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/ICalculator/Add", ReplyAction="http://tempuri.org/ICalculator/AddResponse")]
System.IAsyncResult BeginAdd(double n1, double n2, System.AsyncCallback callback, object asyncState);
double EndAdd(System.IAsyncResult result);
}
now i want to call wcf service asynchronously event driven way. so please anyone help me how to call wcf service asynchronously with event driven way. if possible give a small sample code or drive me to right url from where i can get the knowledge. thanks