ControlChannelTrigger.WaitForPushEnabled method

Applies to Windows only

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.

Note  The ControlChannelTrigger class is not supported on Windows Phone.

Syntax


public ControlChannelTriggerStatus WaitForPushEnabled()

Parameters

This method has no parameters.

Return value

Type: ControlChannelTriggerStatus

A value that indicates if the system was able to complete configuration of a ControlChannelTrigger object.

Remarks

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

See also

ControlChannelTrigger

 

 

Show:
© 2014 Microsoft