SetAccountPictureResult
SetAccountPictureResult
SetAccountPictureResult
SetAccountPictureResult
Enum
Definition
A result that is returned when you try to set the image for a user account.
This object is returned when you call SetAccountPictureAsync, SetAccountPictureFromStreamAsync, SetAccountPicturesAsync, and SetAccountPicturesFromStreamAsync.
public : enum class SetAccountPictureResultpublic enum SetAccountPictureResultPublic Enum SetAccountPictureResult// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.10240.0)
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.System.UserProfile.UserProfileContract (introduced v1)
|
Fields
| ChangeDisabled ChangeDisabled ChangeDisabled ChangeDisabled | Indicates that the picture was not set because the AccountPictureChangeEnabled property is disabled, or the user cancelled the consent prompt. |
| Failure Failure Failure Failure | Indicates the picture or video was not set. |
| FileSizeError FileSizeError FileSizeError FileSizeError | Indicates the picture was not set because the file size was too large. |
| LargeOrDynamicError LargeOrDynamicError LargeOrDynamicError LargeOrDynamicError | Indicates that the picture was not set because the picture was too large. |
| Success Success Success Success | Indicates the picture was successfully set. |
| VideoFrameSizeError VideoFrameSizeError VideoFrameSizeError VideoFrameSizeError | Indicates that the video was not set because of its frame size was too large. |