AppServiceConnection.OpenRemoteAsync(RemoteSystemConnectionRequest) Methode

Definition

Öffnet eine Verbindung mit dem Endpunkt auf einem anderen Gerät für den App-Dienst.

public:
 virtual IAsyncOperation<AppServiceConnectionStatus> ^ OpenRemoteAsync(RemoteSystemConnectionRequest ^ remoteSystemConnectionRequest) = OpenRemoteAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AppServiceConnectionStatus> OpenRemoteAsync(RemoteSystemConnectionRequest const& remoteSystemConnectionRequest);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AppServiceConnectionStatus> OpenRemoteAsync(RemoteSystemConnectionRequest remoteSystemConnectionRequest);
function openRemoteAsync(remoteSystemConnectionRequest)
Public Function OpenRemoteAsync (remoteSystemConnectionRequest As RemoteSystemConnectionRequest) As IAsyncOperation(Of AppServiceConnectionStatus)

Parameter

remoteSystemConnectionRequest
RemoteSystemConnectionRequest

Gibt die Verbindungseinstellungen für appServiceConnection an, z. B. Transporteinstellungen (cloud/proximal/any) sowie das Zielobjekt System.RemoteSystems .

Gibt zurück

Ein asynchroner Vorgang zum Öffnen einer Verbindung mit dem Endpunkt für den App-Dienst auf einem anderen Gerät.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v3.0)
App-Funktionen
remoteSystem

Gilt für: