SetAccountPictureResult Enum
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Hasil yang dikembalikan saat Anda mencoba mengatur gambar untuk akun pengguna.
Objek ini dikembalikan ketika Anda memanggil SetAccountPictureAsync, SetAccountPictureFromStreamAsync, SetAccountPicturesAsync, dan SetAccountPicturesFromStreamAsync.
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
- Warisan
-
SetAccountPictureResult
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows Desktop Extension SDK (diperkenalkan dalam 10.0.10240.0)
Windows Mobile Extension SDK (diperkenalkan dalam 10.0.10240.0) |
API contract |
Windows.System.UserProfile.UserProfileContract (diperkenalkan dalam v1.0)
|
Bidang
ChangeDisabled | 1 | Menunjukkan bahwa gambar tidak diatur karena properti AccountPictureChangeEnabled dinonaktifkan, atau pengguna membatalkan permintaan persetujuan. |
Failure | 5 | Menunjukkan gambar atau video tidak disetel. |
FileSizeError | 4 | Menunjukkan gambar tidak diatur karena ukuran file terlalu besar. |
LargeOrDynamicError | 2 | Menunjukkan bahwa gambar tidak diatur karena gambar terlalu besar. |
Success | 0 | Menunjukkan gambar berhasil disetel. |
VideoFrameSizeError | 3 | Menunjukkan bahwa video tidak diatur karena ukuran bingkainya terlalu besar. |
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk