Skip to content

TransactionResponse.Create(Response, TransactionInfo)

Create(Response, TransactionInfo)

static
View source
public static TransactionResponse Create(Response response, TransactionInfo transactionInfo)
Creates a transaction response which wraps an invocation response.

Parameters

responseResponse
The invocation response whose ownership transfers to the returned wrapper.
transactionInfoTransactionInfo
The transaction information to return with the response.

Returns

The transaction response, which the caller disposes to release the wrapped response.