Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AppServiceConnection.OpenRemoteAsync(RemoteSystemConnectionRequest) Method
Definition
- Namespace:
- Windows.ApplicationModel.AppService
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens a connection to the endpoint on another device for the app service.
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)
Parameters
- 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.
- Attributes
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
| App capabilities |
remoteSystem
|
Applies to
Feedback
Was this page helpful?
