Share via


SetAccountPictureResult 열거형

정의

사용자 계정에 대한 이미지를 설정하려고 할 때 반환되는 결과입니다.

이 개체는 SetAccountPictureAsync, SetAccountPictureFromStreamAsync, SetAccountPicturesAsyncSetAccountPicturesFromStreamAsync를 호출할 때 반환됩니다.

public enum class SetAccountPictureResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.UserProfile.UserProfileContract, 65536)]
enum class SetAccountPictureResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.UserProfile.UserProfileContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
enum class SetAccountPictureResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.UserProfile.UserProfileContract), 65536)]
public enum SetAccountPictureResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.UserProfile.UserProfileContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
public enum SetAccountPictureResult
var value = Windows.System.UserProfile.SetAccountPictureResult.success
Public Enum SetAccountPictureResult
상속
SetAccountPictureResult
특성

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.10240.0에서 도입되었습니다.)
Windows Mobile Extension SDK (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.System.UserProfile.UserProfileContract (v1.0에서 도입되었습니다.)

필드

ChangeDisabled 1

AccountPictureChangeEnabled 속성이 비활성화되었거나 사용자가 동의 프롬프트를 취소했기 때문에 그림이 설정되지 않음을 나타냅니다.

Failure 5

그림 또는 비디오가 설정되지 않음을 나타냅니다.

FileSizeError 4

파일 크기가 너무 커서 그림이 설정되지 않음을 나타냅니다.

LargeOrDynamicError 2

그림이 너무 커서 그림이 설정되지 않음을 나타냅니다.

Success 0

그림이 성공적으로 설정되었음을 나타냅니다.

VideoFrameSizeError 3

프레임 크기가 너무 커서 비디오가 설정되지 않음을 나타냅니다.

적용 대상