Freigeben über


PaymentCanMakePaymentResult Klasse

Definition

Diese Klasse dient als Ergebnis der CanMakePaymentsAsync-Methode .

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
Vererbung
Object Platform::Object IInspectable PaymentCanMakePaymentResult
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Konstruktoren

PaymentCanMakePaymentResult(PaymentCanMakePaymentResultStatus)

Erstellt ein neues PaymentCanMakePaymentResult-Objekt.

Eigenschaften

Status

Ruft die status ab, ob eine Zahlung erfolgen kann.

Gilt für: