locked
CreatePushNotificationChannelForApplicationAsync Fails to Return RRS feed

  • Question

  • In the first debug session after a substantial time offline period, CreatePushNotificationChannelForApplicationAsync fails to return from waiting. However, upon starting the second debug session within seconds/minutes of ending the first debug session, the method returns immediately with the proper "channel" object.

    For code, I am using simply...

            PushNotificationChannel channel;

    channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();


    Is the first call waking up my instance of WNS or something? 

    Is there a timeout that I should set and then retry to connect to WNS if I don't get a response from it initially?

    Friday, March 10, 2017 1:00 AM