共用方式為


AppBroadcastBackgroundService.TerminateBroadcast 方法

定義

終止廣播。

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)

參數

reason
AppBroadcastTerminationReason

值,表示廣播被終止的原因。

providerSpecificReason
UInt32

unsigned int

uint32_t

整數,傳達廣播終止的提供者特定原因。

Windows 需求

應用程式功能
appBroadcast appBroadcastSettings

適用於