Condividi tramite


RemoteSystem.FindByHostNameAsync(HostName) Metodo

Definizione

Tenta di individuare un singolo sistema remoto specificato dal parametro HostName .

public:
 static IAsyncOperation<RemoteSystem ^> ^ FindByHostNameAsync(HostName ^ hostName);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<RemoteSystem> FindByHostNameAsync(HostName const& hostName);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<RemoteSystem> FindByHostNameAsync(HostName hostName);
function findByHostNameAsync(hostName)
Public Shared Function FindByHostNameAsync (hostName As HostName) As IAsyncOperation(Of RemoteSystem)

Parametri

hostName
HostName

Oggetto wrapper per l'indirizzo di un sistema remoto da individuare. Per informazioni su come creare un'istanza di , vedere il costruttore HostName.

Restituisce

Operazione asincrona che restituisce il sistema remoto trovato. Restituisce Null se non è stato trovato alcun elemento.

Attributi

Requisiti Windows

Funzionalità dell'app
remoteSystem

Commenti

Importante

È necessario confermare l'accesso alla piattaforma di sistema remoto con una chiamata a RemoteSystem.RequestAccessAsync prima di chiamare questo metodo.

Si applica a