I have a custom type in my asp.net web service. I have parameterized constructor for the same type. But when I try to use the same type on client side I can only see the default constructor with no parameter. This is my type.
public class Task
{
public string AssignedTo { get; set; }
public int CallDuration { get; set; }
public Task(string assignedTo,int callDuration)
{
AssignedTo = assignedTo;
CallDuration = callDuration;
}
}