Channel Trigger. Wait For Push Enabled Method
Allows an app to notify the system that a connection has been established and the system should complete the internal configuration of the control channel trigger.
The ControlChannelTrigger class is not supported on Windows Phone.
public: virtual ControlChannelTriggerStatus WaitForPushEnabled() = WaitForPushEnabled;
public ControlChannelTriggerStatus WaitForPushEnabled();
Public Function WaitForPushEnabled () As ControlChannelTriggerStatus
Once an app is connected, it must call the WaitForPushEnabled method in order to enable the system to complete the internal configuration of the control channel trigger. If an app tries to use the network trigger mechanism without calling the WaitForPushEnabled method, it will get an exception.
This call to the WaitForPushEnabled method is to be made only after the transport connection is established.