Condividi tramite


IsolatedWindowsEnvironmentUserInfo.TryWaitForSignInAsync Metodo

Definizione

Deprecato. Questa funzione di attesa asincrona restituisce una volta completato il processo di accesso all'ambiente Windows isolato. Restituisce true se l'accesso è riuscito, false in caso contrario.

public:
 virtual IAsyncOperation<bool> ^ TryWaitForSignInAsync() = TryWaitForSignInAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryWaitForSignInAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
IAsyncOperation<bool> TryWaitForSignInAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryWaitForSignInAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentUserInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public IAsyncOperation<bool> TryWaitForSignInAsync();
function tryWaitForSignInAsync()
Public Function TryWaitForSignInAsync () As IAsyncOperation(Of Boolean)

Valori restituiti

Oggetto IAsyncOperation<bool> che indica l'esito positivo dell'operazione di accesso.

Attributi

Commenti

Avviso

Si tratta di un'API deprecata.

Se l'accesso viene completato quando TryWaitForSignInAsync viene chiamato, l'API restituisce true immediatamente.

Si applica a