azure-docs-sdk-java/docs-ref-autogen/com.azure.messaging.service...

58 строки
6.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.messaging.servicebus.models.CompleteOptions"
fullName: "com.azure.messaging.servicebus.models.CompleteOptions"
name: "CompleteOptions"
nameWithType: "CompleteOptions"
summary: "Options to specify when completing a <xref uid=\"com.azure.messaging.servicebus.ServiceBusReceivedMessage\" data-throw-if-not-resolved=\"false\" data-raw-source=\"message\"></xref> received via <xref uid=\"com.azure.messaging.servicebus.models.ServiceBusReceiveMode.PEEK_LOCK\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ServiceBusReceiveMode#PEEK_LOCK\"></xref>."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.messaging.servicebus.models.SettlementOptions?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.messaging.servicebus.models.SettlementOptions?alt=com.azure.messaging.servicebus.models.SettlementOptions&text=SettlementOptions\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.messaging.servicebus.models.SettlementOptions.getTransactionContext()?alt=com.azure.messaging.servicebus.models.SettlementOptions.getTransactionContext&text=getTransactionContext\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.messaging.servicebus.models.SettlementOptions.setTransactionContext(com.azure.messaging.servicebus.ServiceBusTransactionContext)?alt=com.azure.messaging.servicebus.models.SettlementOptions.setTransactionContext&text=setTransactionContext\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **CompleteOptions**</br> extends <xref href=\"com.azure.messaging.servicebus.models.SettlementOptions?alt=com.azure.messaging.servicebus.models.SettlementOptions&text=SettlementOptions\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.azure.messaging.servicebus.models.CompleteOptions.CompleteOptions()"
fullName: "com.azure.messaging.servicebus.models.CompleteOptions.CompleteOptions()"
name: "CompleteOptions()"
nameWithType: "CompleteOptions.CompleteOptions()"
summary: "Creates a new instance of options to specify when completing messages."
syntax: "public CompleteOptions()"
desc: "Creates a new instance of options to specify when completing messages."
methods:
- uid: "com.azure.messaging.servicebus.models.CompleteOptions.setTransactionContext(com.azure.messaging.servicebus.ServiceBusTransactionContext)"
fullName: "com.azure.messaging.servicebus.models.CompleteOptions.setTransactionContext(ServiceBusTransactionContext transactionContext)"
name: "setTransactionContext(ServiceBusTransactionContext transactionContext)"
nameWithType: "CompleteOptions.setTransactionContext(ServiceBusTransactionContext transactionContext)"
summary: "Sets the <xref uid=\"com.azure.messaging.servicebus.ServiceBusTransactionContext\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ServiceBusTransactionContext\"></xref> to the options."
overridden: "com.azure.messaging.servicebus.models.SettlementOptions.setTransactionContext(com.azure.messaging.servicebus.ServiceBusTransactionContext)"
parameters:
- description: "The <xref uid=\"com.azure.messaging.servicebus.ServiceBusTransactionContext\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ServiceBusTransactionContext\"></xref> that will be used to complete a message."
name: "transactionContext"
type: "<xref href=\"com.azure.messaging.servicebus.ServiceBusTransactionContext?alt=com.azure.messaging.servicebus.ServiceBusTransactionContext&text=ServiceBusTransactionContext\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CompleteOptions setTransactionContext(ServiceBusTransactionContext transactionContext)"
desc: "Sets the <xref uid=\"com.azure.messaging.servicebus.ServiceBusTransactionContext\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ServiceBusTransactionContext\"></xref> to the options."
returns:
description: "The updated <xref uid=\"com.azure.messaging.servicebus.models.CompleteOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CompleteOptions\"></xref> object."
type: "<xref href=\"com.azure.messaging.servicebus.models.CompleteOptions?alt=com.azure.messaging.servicebus.models.CompleteOptions&text=CompleteOptions\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Options to specify when completing a <xref uid=\"com.azure.messaging.servicebus.ServiceBusReceivedMessage\" data-throw-if-not-resolved=\"false\" data-raw-source=\"message\"></xref> received via <xref uid=\"com.azure.messaging.servicebus.models.ServiceBusReceiveMode.PEEK_LOCK\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ServiceBusReceiveMode#PEEK_LOCK\"></xref>."
metadata: {}
package: "com.azure.messaging.servicebus.models"
artifact: com.azure:azure-messaging-servicebus:7.17.5