Hello IdeaBlade,
I've set up a notification service on my WPF n-tier application, since some user have restricted policy on our customer's enviorment and cannot open specific port, is there a way of avoiding the client to attend the timeout?
I register to the Notification this way
public void RegisterCallBack(string serviceTypeName, string serviceMethodName, Action<SubscriptionOperation> callback, object userToken, params object[] clientArgs)
{
try
{
Manager.RegisterCallback(serviceTypeName, serviceMethodName, callback, userToken, clientArgs);
}
catch (Exception ex)
{
//log
}
}
But this turns an exception after the timeout... is there a way of checking if it can register callback? otherwise is there a way of setting a timeout to 5 seconds? in the worst case the final user won't get the user notification but it's not a huge problem...
Thanks