User.FindAllAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FindAllAsync() |
以非同步方式尋找所有使用者。 |
FindAllAsync(UserType) |
以非同步方式尋找指定類型的所有使用者。 |
FindAllAsync(UserType, UserAuthenticationStatus) |
以非同步方式尋找指定類型和驗證狀態的所有使用者。 |
FindAllAsync()
以非同步方式尋找所有使用者。
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))
傳回
當此方法成功完成時,它會傳回iVectorView類型 (使用者) 的清單。
- 屬性
另請參閱
適用於
FindAllAsync(UserType)
以非同步方式尋找指定類型的所有使用者。
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))
參數
- type
- UserType
要尋找的使用者類型。
傳回
當此方法成功完成時,它會傳回iVectorView類型 (使用者) 的清單。
- 屬性
另請參閱
適用於
FindAllAsync(UserType, UserAuthenticationStatus)
以非同步方式尋找指定類型和驗證狀態的所有使用者。
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))
參數
- type
- UserType
要尋找的使用者類型。
- status
- UserAuthenticationStatus
要尋找的使用者驗證狀態。
傳回
當此方法成功完成時,它會傳回iVectorView類型 (使用者) 的清單。
- 屬性