共用方式為


PaymentCanMakePaymentResult 類別

定義

這個類別是 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
繼承
Object Platform::Object IInspectable PaymentCanMakePaymentResult
屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

建構函式

PaymentCanMakePaymentResult(PaymentCanMakePaymentResultStatus)

建立新的 PaymentCanMakePaymentResult 物件。

屬性

Status

取得是否可以付款的狀態。

適用於