Share via


User.FindAllAsync Metode

Definisi

Overload

FindAllAsync()

Menemukan semua pengguna secara asinkron.

FindAllAsync(UserType)

Menemukan semua pengguna dari jenis tertentu secara asinkron.

FindAllAsync(UserType, UserAuthenticationStatus)

Menemukan semua pengguna dari jenis tertentu dan status autentikasi secara asinkron.

FindAllAsync()

Menemukan semua pengguna secara asinkron.

public:
 static IAsyncOperation<IVectorView<User ^> ^> ^ FindAllAsync();
/// [Windows.Foundation.Metadata.DefaultOverload]
/// [Windows.Foundation.Metadata.Overload("FindAllAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<User>> FindAllAsync();
[Windows.Foundation.Metadata.DefaultOverload]
[Windows.Foundation.Metadata.Overload("FindAllAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync();
function findAllAsync()
Public Shared Function FindAllAsync () As IAsyncOperation(Of IReadOnlyList(Of User))

Mengembalikan

Ketika metode ini berhasil diselesaikan, metode ini mengembalikan daftar (jenis IVectorView) Pengguna.

Atribut

Lihat juga

Berlaku untuk

FindAllAsync(UserType)

Menemukan semua pengguna dari jenis tertentu secara asinkron.

public:
 static IAsyncOperation<IVectorView<User ^> ^> ^ FindAllAsync(UserType type);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncByType")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<User>> FindAllAsync(UserType const& type);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncByType")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("FindAllAsyncByType is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<IVectorView<User>> FindAllAsync(UserType const& type);
[Windows.Foundation.Metadata.Overload("FindAllAsyncByType")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync(UserType type);
[Windows.Foundation.Metadata.Overload("FindAllAsyncByType")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("FindAllAsyncByType is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync(UserType type);
function findAllAsync(type)
Public Shared Function FindAllAsync (type As UserType) As IAsyncOperation(Of IReadOnlyList(Of User))

Parameter

type
UserType

Jenis pengguna yang akan ditemukan.

Mengembalikan

Ketika metode ini berhasil diselesaikan, metode ini mengembalikan daftar (jenis IVectorView) Pengguna.

Atribut

Lihat juga

Berlaku untuk

FindAllAsync(UserType, UserAuthenticationStatus)

Menemukan semua pengguna dari jenis tertentu dan status autentikasi secara asinkron.

public:
 static IAsyncOperation<IVectorView<User ^> ^> ^ FindAllAsync(UserType type, UserAuthenticationStatus status);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncByTypeAndStatus")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<User>> FindAllAsync(UserType const& type, UserAuthenticationStatus const& status);
/// [Windows.Foundation.Metadata.Overload("FindAllAsyncByTypeAndStatus")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("FindAllAsyncByTypeAndStatus is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<IVectorView<User>> FindAllAsync(UserType const& type, UserAuthenticationStatus const& status);
[Windows.Foundation.Metadata.Overload("FindAllAsyncByTypeAndStatus")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync(UserType type, UserAuthenticationStatus status);
[Windows.Foundation.Metadata.Overload("FindAllAsyncByTypeAndStatus")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("FindAllAsyncByTypeAndStatus is deprecated and might not function consistently on all platforms. Instead, use FindAllAsync or GetDefault.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 720896, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<IReadOnlyList<User>> FindAllAsync(UserType type, UserAuthenticationStatus status);
function findAllAsync(type, status)
Public Shared Function FindAllAsync (type As UserType, status As UserAuthenticationStatus) As IAsyncOperation(Of IReadOnlyList(Of User))

Parameter

type
UserType

Jenis pengguna yang akan ditemukan.

status
UserAuthenticationStatus

Status autentikasi pengguna untuk ditemukan.

Mengembalikan

Ketika metode ini berhasil diselesaikan, metode ini mengembalikan daftar (jenis IVectorView) Pengguna.

Atribut

Lihat juga

Berlaku untuk