PaymentCanMakePaymentResult Kelas
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.
Kelas ini berfungsi sebagai hasil dari metode CanMakePaymentsAsync .
public ref class PaymentCanMakePaymentResult sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Payments.IPaymentCanMakePaymentResultFactory, 327680, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PaymentCanMakePaymentResult final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Payments.IPaymentCanMakePaymentResultFactory), 327680, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PaymentCanMakePaymentResult
function PaymentCanMakePaymentResult(value)
Public NotInheritable Class PaymentCanMakePaymentResult
- Warisan
- Atribut
Persyaratan Windows
Rangkaian perangkat |
Windows 10 Fall Creators Update (diperkenalkan dalam 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v5.0)
|
Konstruktor
PaymentCanMakePaymentResult(PaymentCanMakePaymentResultStatus) |
Membuat objek PaymentCanMakePaymentResult baru. |
Properti
Status |
Mendapatkan status apakah pembayaran dapat dilakukan. |