TextRequestClient.GetPaymentAsync(Int32, Int32, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the payment with the specified id
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetPaymentResponse> GetPaymentAsync(int idOfTheDashboardToMakeThisCallOn, int idOfThePayment, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPaymentAsync : int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetPaymentResponse>
override this.GetPaymentAsync : int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.TextRequest.Models.GetPaymentResponse>
Public Overridable Function GetPaymentAsync (idOfTheDashboardToMakeThisCallOn As Integer, idOfThePayment As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GetPaymentResponse)
Parameters
- idOfTheDashboardToMakeThisCallOn
- Int32
Id of the dashboard to make this call on
- idOfThePayment
- Int32
Id of the payment
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Gets the payment with the specified id response.
Remarks
Gets the payment with the specified id.