Bagikan melalui


AppBroadcastBackgroundService.TerminateBroadcast Metode

Definisi

Menghentikan siaran.

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)

Parameter

reason
AppBroadcastTerminationReason

Nilai yang menunjukkan alasan siaran dihentikan.

providerSpecificReason
UInt32

unsigned int

uint32_t

Bilangan bulat yang menyampaikan alasan khusus penyedia bahwa siaran sedang dihentikan.

Persyaratan Windows

Kemampuan aplikasi
appBroadcast appBroadcastSettings

Berlaku untuk