SetAccountPictureResult enumeration

Applies to Windows and Windows Phone

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.

Syntax


var value = Windows.System.UserProfile.SetAccountPictureResult.success;

Attributes

[Version(0x06020000)]

Members

The SetAccountPictureResult enumeration has these members.

MemberValueDescription
Success | success0

Indicates the picture was successfully set.

ChangeDisabled | changeDisabled1

Indicates that the picture was not set because the AccountPictureChangeEnabled property is disabled, or the user cancelled the consent prompt.

LargeOrDynamicError | largeOrDynamicError2

Indicates that the picture was not set because the picture was too large.

VideoFrameSizeError | videoFrameSizeError3

Indicates that the video was not set because of its frame size was too large.

FileSizeError | fileSizeError4

Indicates the picture was not set because the file size was too large.

Failure | failure5

Indicates the picture or video was not set.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.System.UserProfile
Windows::System::UserProfile [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft