共用方式為


MiracastReceiver.CreateSessionAsync(CoreApplicationView) 方法

定義

以非同步方式建立接收 Miracast 連線所需的新 MiracastReceiverSession 物件。

public:
 virtual IAsyncOperation<MiracastReceiverSession ^> ^ CreateSessionAsync(CoreApplicationView ^ view) = CreateSessionAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MiracastReceiverSession> CreateSessionAsync(CoreApplicationView const& view);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MiracastReceiverSession> CreateSessionAsync(CoreApplicationView view);
function createSessionAsync(view)
Public Function CreateSessionAsync (view As CoreApplicationView) As IAsyncOperation(Of MiracastReceiverSession)

參數

view
CoreApplicationView

顯示 Miracast 視訊串流時,應用程式所使用的 CoreApplicationView

傳回

非同步作業,會在完成時傳回新的 MiracastReceiverSession 物件。

屬性

適用於

另請參閱