AppServiceConnection.OpenRemoteAsync(RemoteSystemConnectionRequest) AppServiceConnection.OpenRemoteAsync(RemoteSystemConnectionRequest) AppServiceConnection.OpenRemoteAsync(RemoteSystemConnectionRequest) AppServiceConnection.OpenRemoteAsync(RemoteSystemConnectionRequest) AppServiceConnection.OpenRemoteAsync(RemoteSystemConnectionRequest) Method

Definition

Opens a connection to the endpoint on another device for the app service.

public : IAsyncOperation<AppServiceConnectionStatus> OpenRemoteAsync(RemoteSystemConnectionRequest remoteSystemConnectionRequest)
IAsyncOperation<AppServiceConnectionStatus> OpenRemoteAsync(RemoteSystemConnectionRequest remoteSystemConnectionRequest) const;
public IAsyncOperation<AppServiceConnectionStatus> OpenRemoteAsync(RemoteSystemConnectionRequest remoteSystemConnectionRequest)
Public Function OpenRemoteAsync(remoteSystemConnectionRequest As RemoteSystemConnectionRequest) As IAsyncOperation(Of AppServiceConnectionStatus)
Windows.ApplicationModel.AppService.AppServiceConnection.openRemoteAsync(remoteSystemConnectionRequest).done( /* Your success and error handlers */ );

Parameters

remoteSystemConnectionRequest
RemoteSystemConnectionRequest RemoteSystemConnectionRequest RemoteSystemConnectionRequest

Specifies the connection preferences for the AppServiceConnection, such as transport preferences (cloud/proximal/any) as well as the target System.RemoteSystems object.

Returns

An asynchronous operation to open a connection to the endpoint for the app service on another device.

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
Capabilities
remoteSystem