Compartilhar via


UserManager.UserOperationErrorManagedProfile Field

Definition

Caution

This constant will be removed in the future version. Use Android.OS.UserOperationResultCode enum directly instead of this field.

Indicates user operation failed because target user is a managed profile.

[Android.Runtime.Register("USER_OPERATION_ERROR_MANAGED_PROFILE", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.UserOperationResultCode enum directly instead of this field.", true)]
public const Android.OS.UserOperationResultCode UserOperationErrorManagedProfile = 2;
[<Android.Runtime.Register("USER_OPERATION_ERROR_MANAGED_PROFILE", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.UserOperationResultCode enum directly instead of this field.", true)>]
val mutable UserOperationErrorManagedProfile : Android.OS.UserOperationResultCode

Field Value

Value = 2
Attributes

Remarks

Indicates user operation failed because target user is a managed profile.

Java documentation for android.os.UserManager.USER_OPERATION_ERROR_MANAGED_PROFILE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to