public object Invoke(object instance, object[] inputs, out object[] outputs) { //---checking for session ----code for checking session--- if (isSessionExist) { return originalInvoker.Invoke(instance, inputs, out outputs); } else { throw new System.ServiceModel.Web.WebFaultException (System.Net.HttpStatusCode.Unauthorized); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)