共用方式為


AppBroadcastServices.EnterBroadcastModeAsync(AppBroadcastPlugIn) 方法

定義

讓應用程式廣播服務使用指定的應用程式廣播外掛程式進入廣播模式。

public:
 virtual IAsyncOperation<unsigned int> ^ EnterBroadcastModeAsync(AppBroadcastPlugIn ^ plugIn) = EnterBroadcastModeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<uint32_t> EnterBroadcastModeAsync(AppBroadcastPlugIn const& plugIn);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<uint> EnterBroadcastModeAsync(AppBroadcastPlugIn plugIn);
function enterBroadcastModeAsync(plugIn)
Public Function EnterBroadcastModeAsync (plugIn As AppBroadcastPlugIn) As IAsyncOperation(Of UInteger)

參數

plugIn
AppBroadcastPlugIn

輸入廣播模式的應用程式廣播外掛程式。

傳回

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation<unsigned int>

IAsyncOperation<uint32_t>

非同步作業,會在成功完成時傳回狀態碼。

屬性

Windows 需求

應用程式功能
appBroadcast appBroadcastSettings

適用於