PaymentMediator.SubmitPaymentRequestAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SubmitPaymentRequestAsync(PaymentRequest) |
提交付款请求。 |
SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler) |
提交付款请求。 |
SubmitPaymentRequestAsync(PaymentRequest)
提交付款请求。
public:
virtual IAsyncOperation<PaymentRequestSubmitResult ^> ^ SubmitPaymentRequestAsync(PaymentRequest ^ paymentRequest) = SubmitPaymentRequestAsync;
/// [Windows.Foundation.Metadata.Overload("SubmitPaymentRequestAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PaymentRequestSubmitResult> SubmitPaymentRequestAsync(PaymentRequest const& paymentRequest);
[Windows.Foundation.Metadata.Overload("SubmitPaymentRequestAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PaymentRequestSubmitResult> SubmitPaymentRequestAsync(PaymentRequest paymentRequest);
function submitPaymentRequestAsync(paymentRequest)
Public Function SubmitPaymentRequestAsync (paymentRequest As PaymentRequest) As IAsyncOperation(Of PaymentRequestSubmitResult)
参数
- paymentRequest
- PaymentRequest
付款请求。
返回
异步操作完成后,它将返回提交结果。
- 属性
适用于
SubmitPaymentRequestAsync(PaymentRequest, PaymentRequestChangedHandler)
提交付款请求。
public:
virtual IAsyncOperation<PaymentRequestSubmitResult ^> ^ SubmitPaymentRequestAsync(PaymentRequest ^ paymentRequest, PaymentRequestChangedHandler ^ changeHandler) = SubmitPaymentRequestAsync;
/// [Windows.Foundation.Metadata.Overload("SubmitPaymentRequestWithChangeHandlerAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PaymentRequestSubmitResult> SubmitPaymentRequestAsync(PaymentRequest const& paymentRequest, PaymentRequestChangedHandler const& changeHandler);
[Windows.Foundation.Metadata.Overload("SubmitPaymentRequestWithChangeHandlerAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PaymentRequestSubmitResult> SubmitPaymentRequestAsync(PaymentRequest paymentRequest, PaymentRequestChangedHandler changeHandler);
function submitPaymentRequestAsync(paymentRequest, changeHandler)
Public Function SubmitPaymentRequestAsync (paymentRequest As PaymentRequest, changeHandler As PaymentRequestChangedHandler) As IAsyncOperation(Of PaymentRequestSubmitResult)
参数
- paymentRequest
- PaymentRequest
付款请求。
- changeHandler
- PaymentRequestChangedHandler
付款请求更改时的处理程序。
返回
异步操作完成后,它将返回提交结果。
- 属性