语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ConfigurationModelFactory.UserAllocation Method

Definition

Feature Flag UserAllocation object.

public static Azure.Data.AppConfiguration.UserAllocation UserAllocation(string variant = default, System.Collections.Generic.IEnumerable<string> users = default);
static member UserAllocation : string * seq<string> -> Azure.Data.AppConfiguration.UserAllocation
Public Shared Function UserAllocation (Optional variant As String = Nothing, Optional users As IEnumerable(Of String) = Nothing) As UserAllocation

Parameters

variant
String

The variant to allocate these percentiles to.

users
IEnumerable<String>

The users to get this variant.

Returns

A new UserAllocation instance for mocking.

Applies to