Share via


AppBroadcastBackgroundService.TerminateBroadcast Method

Definition

Terminates a broadcast.

public:
 virtual void TerminateBroadcast(AppBroadcastTerminationReason reason, unsigned int providerSpecificReason) = TerminateBroadcast;
void TerminateBroadcast(AppBroadcastTerminationReason const& reason, uint32_t const& providerSpecificReason);
public void TerminateBroadcast(AppBroadcastTerminationReason reason, uint providerSpecificReason);
function terminateBroadcast(reason, providerSpecificReason)
Public Sub TerminateBroadcast (reason As AppBroadcastTerminationReason, providerSpecificReason As UInteger)

Parameters

reason
AppBroadcastTerminationReason

A value indicating the reason that the broadcast is being terminated.

providerSpecificReason
UInt32

unsigned int

uint32_t

An integer that conveys a provider-specific reason that the broadcast is being terminated.

Windows requirements

App capabilities
appBroadcast appBroadcastSettings

Applies to