public final class CompleteOptions extends Object
Constructor and Description |
---|
CompleteOptions() |
Modifier and Type | Method and Description |
---|---|
ServiceBusTransactionContext |
getTransactionContext()
Gets the transaction associated with the settlement operation.
|
CompleteOptions |
setTransactionContext(ServiceBusTransactionContext transactionContext)
Sets the
ServiceBusTransactionContext to the options. |
public CompleteOptions setTransactionContext(ServiceBusTransactionContext transactionContext)
ServiceBusTransactionContext
to the options.transactionContext
- The ServiceBusTransactionContext
that will be used to complete a message.CompleteOptions
object.ServiceBusSenderClient.createTransaction()
,
ServiceBusSenderAsyncClient.createTransaction()
,
ServiceBusReceiverClient.createTransaction()
,
ServiceBusReceiverAsyncClient.createTransaction()
public ServiceBusTransactionContext getTransactionContext()
null
if there is none.Copyright © 2021 Microsoft Corporation. All rights reserved.