azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.service...

226 строки
31 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.MessageSession"
fullName: "com.microsoft.azure.servicebus.MessageSession"
name: "MessageSession"
nameWithType: "MessageSession"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.InitializableEntity?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver?alt=com.microsoft.azure.servicebus.MessageReceiver&text=MessageReceiver\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.abandon(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.abandon&text=abandon\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.abandon(java.util.UUID,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.abandon&text=abandon\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.abandon(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>)?alt=com.microsoft.azure.servicebus.MessageReceiver.abandon&text=abandon\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.abandon(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.abandon&text=abandon\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.abandonAsync(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.abandonAsync&text=abandonAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.abandonAsync(java.util.UUID,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.abandonAsync&text=abandonAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.abandonAsync(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>)?alt=com.microsoft.azure.servicebus.MessageReceiver.abandonAsync&text=abandonAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.abandonAsync(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.abandonAsync&text=abandonAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.complete(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.complete&text=complete\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.complete(java.util.UUID,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.complete&text=complete\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.completeAsync(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.completeAsync&text=completeAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.completeAsync(java.util.UUID,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.completeAsync&text=completeAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetter(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetter&text=deadLetter\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetter(java.util.UUID,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetter&text=deadLetter\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetter(java.util.UUID,java.lang.String,java.lang.String)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetter&text=deadLetter\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetter(java.util.UUID,java.lang.String,java.lang.String,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetter&text=deadLetter\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetter(java.util.UUID,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetter&text=deadLetter\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetter(java.util.UUID,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetter&text=deadLetter\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetter(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetter&text=deadLetter\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetter(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetter&text=deadLetter\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync&text=deadLetterAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync(java.util.UUID,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync&text=deadLetterAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync(java.util.UUID,java.lang.String,java.lang.String)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync&text=deadLetterAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync(java.util.UUID,java.lang.String,java.lang.String,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync&text=deadLetterAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync(java.util.UUID,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync&text=deadLetterAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync(java.util.UUID,java.lang.String,java.lang.String,java.util.Map<java.lang.String,java.lang.Object>,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync&text=deadLetterAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync&text=deadLetterAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deadLetterAsync&text=deadLetterAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.defer(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.defer&text=defer\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.defer(java.util.UUID,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.defer&text=defer\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.defer(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>)?alt=com.microsoft.azure.servicebus.MessageReceiver.defer&text=defer\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.defer(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.defer&text=defer\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deferAsync(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.deferAsync&text=deferAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deferAsync(java.util.UUID,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deferAsync&text=deferAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deferAsync(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>)?alt=com.microsoft.azure.servicebus.MessageReceiver.deferAsync&text=deferAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.deferAsync(java.util.UUID,java.util.Map<java.lang.String,java.lang.Object>,com.microsoft.azure.servicebus.TransactionContext)?alt=com.microsoft.azure.servicebus.MessageReceiver.deferAsync&text=deferAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.getEntityPath()?alt=com.microsoft.azure.servicebus.MessageReceiver.getEntityPath&text=getEntityPath\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.getInternalReceiver()?alt=com.microsoft.azure.servicebus.MessageReceiver.getInternalReceiver&text=getInternalReceiver\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.getPrefetchCount()?alt=com.microsoft.azure.servicebus.MessageReceiver.getPrefetchCount&text=getPrefetchCount\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.getReceiveMode()?alt=com.microsoft.azure.servicebus.MessageReceiver.getReceiveMode&text=getReceiveMode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.getRequestedSessionId()?alt=com.microsoft.azure.servicebus.MessageReceiver.getRequestedSessionId&text=getRequestedSessionId\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.isBrowsableSession()?alt=com.microsoft.azure.servicebus.MessageReceiver.isBrowsableSession&text=isBrowsableSession\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.isSessionReceiver()?alt=com.microsoft.azure.servicebus.MessageReceiver.isSessionReceiver&text=isSessionReceiver\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.onClose()?alt=com.microsoft.azure.servicebus.MessageReceiver.onClose&text=onClose\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.peek()?alt=com.microsoft.azure.servicebus.MessageReceiver.peek&text=peek\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.peek(long)?alt=com.microsoft.azure.servicebus.MessageReceiver.peek&text=peek\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.peekAsync()?alt=com.microsoft.azure.servicebus.MessageReceiver.peekAsync&text=peekAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.peekAsync(long)?alt=com.microsoft.azure.servicebus.MessageReceiver.peekAsync&text=peekAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.peekBatch(int)?alt=com.microsoft.azure.servicebus.MessageReceiver.peekBatch&text=peekBatch\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.peekBatch(long,int)?alt=com.microsoft.azure.servicebus.MessageReceiver.peekBatch&text=peekBatch\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.peekBatchAsync(int)?alt=com.microsoft.azure.servicebus.MessageReceiver.peekBatchAsync&text=peekBatchAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.peekBatchAsync(long,int)?alt=com.microsoft.azure.servicebus.MessageReceiver.peekBatchAsync&text=peekBatchAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receive()?alt=com.microsoft.azure.servicebus.MessageReceiver.receive&text=receive\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receive(java.time.Duration)?alt=com.microsoft.azure.servicebus.MessageReceiver.receive&text=receive\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveAsync()?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveAsync&text=receiveAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveAsync(java.time.Duration)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveAsync&text=receiveAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveBatch(int)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveBatch&text=receiveBatch\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveBatch(int,java.time.Duration)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveBatch&text=receiveBatch\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveBatchAsync(int)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveBatchAsync&text=receiveBatchAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveBatchAsync(int,java.time.Duration)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveBatchAsync&text=receiveBatchAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveDeferredMessage(long)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveDeferredMessage&text=receiveDeferredMessage\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveDeferredMessageAsync(long)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveDeferredMessageAsync&text=receiveDeferredMessageAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveDeferredMessageBatch(java.util.Collection<java.lang.Long>)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveDeferredMessageBatch&text=receiveDeferredMessageBatch\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.receiveDeferredMessageBatchAsync(java.util.Collection<java.lang.Long>)?alt=com.microsoft.azure.servicebus.MessageReceiver.receiveDeferredMessageBatchAsync&text=receiveDeferredMessageBatchAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.renewMessageLock(com.microsoft.azure.servicebus.IMessage)?alt=com.microsoft.azure.servicebus.MessageReceiver.renewMessageLock&text=renewMessageLock\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.renewMessageLock(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.renewMessageLock&text=renewMessageLock\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.renewMessageLockAsync(com.microsoft.azure.servicebus.IMessage)?alt=com.microsoft.azure.servicebus.MessageReceiver.renewMessageLockAsync&text=renewMessageLockAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.renewMessageLockAsync(java.util.UUID)?alt=com.microsoft.azure.servicebus.MessageReceiver.renewMessageLockAsync&text=renewMessageLockAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.renewMessageLockBatch(java.util.Collection<? extends com.microsoft.azure.servicebus.IMessage>)?alt=com.microsoft.azure.servicebus.MessageReceiver.renewMessageLockBatch&text=renewMessageLockBatch\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.renewMessageLockBatchAsync(java.util.Collection<? extends com.microsoft.azure.servicebus.IMessage>)?alt=com.microsoft.azure.servicebus.MessageReceiver.renewMessageLockBatchAsync&text=renewMessageLockBatchAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.MessageReceiver.setPrefetchCount(int)?alt=com.microsoft.azure.servicebus.MessageReceiver.setPrefetchCount&text=setPrefetchCount\" data-throw-if-not-resolved=\"False\" />"
- classRef: "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity?alt=com.microsoft.azure.servicebus.primitives.ClientEntity&text=ClientEntity\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.close()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.close&text=close\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.closeAsync()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.closeAsync&text=closeAsync\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.finalize()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.getClientId()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.getClientId&text=getClientId\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.getIsClosed()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.getIsClosed&text=getIsClosed\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.getIsClosingOrClosed()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.getIsClosingOrClosed&text=getIsClosingOrClosed\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.setClosed()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.setClosed&text=setClosed\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.setClosing()?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.setClosing&text=setClosing\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.servicebus.primitives.ClientEntity.throwIfClosed(java.lang.Throwable)?alt=com.microsoft.azure.servicebus.primitives.ClientEntity.throwIfClosed&text=throwIfClosed\" 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#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 class **MessageSession**</br> extends <xref href=\"com.microsoft.azure.servicebus.MessageReceiver?alt=com.microsoft.azure.servicebus.MessageReceiver&text=MessageReceiver\" data-throw-if-not-resolved=\"False\" /></br> implements <xref href=\"com.microsoft.azure.servicebus.IMessageSession?alt=com.microsoft.azure.servicebus.IMessageSession&text=IMessageSession\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.microsoft.azure.servicebus.MessageSession.getLockedUntilUtc()"
fullName: "com.microsoft.azure.servicebus.MessageSession.getLockedUntilUtc()"
name: "getLockedUntilUtc()"
nameWithType: "MessageSession.getLockedUntilUtc()"
syntax: "public Instant getLockedUntilUtc()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html\">Instant</a>"
- uid: "com.microsoft.azure.servicebus.MessageSession.getRequestedSessionId()"
fullName: "com.microsoft.azure.servicebus.MessageSession.getRequestedSessionId()"
name: "getRequestedSessionId()"
nameWithType: "MessageSession.getRequestedSessionId()"
modifiers:
- "protected"
overridden: "com.microsoft.azure.servicebus.MessageReceiver.getRequestedSessionId()"
syntax: "protected String getRequestedSessionId()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.MessageSession.getSessionId()"
fullName: "com.microsoft.azure.servicebus.MessageSession.getSessionId()"
name: "getSessionId()"
nameWithType: "MessageSession.getSessionId()"
syntax: "public String getSessionId()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.MessageSession.getState()"
fullName: "com.microsoft.azure.servicebus.MessageSession.getState()"
name: "getState()"
nameWithType: "MessageSession.getState()"
summary: "Gets the session state."
syntax: "public byte[] getState()"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html\">InterruptedException</a>"
- type: "<xref href=\"com.microsoft.azure.servicebus.primitives.ServiceBusException?alt=com.microsoft.azure.servicebus.primitives.ServiceBusException&text=ServiceBusException\" data-throw-if-not-resolved=\"False\" />"
desc: "Gets the session state."
returns:
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
- uid: "com.microsoft.azure.servicebus.MessageSession.getStateAsync()"
fullName: "com.microsoft.azure.servicebus.MessageSession.getStateAsync()"
name: "getStateAsync()"
nameWithType: "MessageSession.getStateAsync()"
summary: "Asynchronously gets the session state."
syntax: "public CompletableFuture<byte[]> getStateAsync()"
desc: "Asynchronously gets the session state."
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]&gt;"
- uid: "com.microsoft.azure.servicebus.MessageSession.isBrowsableSession()"
fullName: "com.microsoft.azure.servicebus.MessageSession.isBrowsableSession()"
name: "isBrowsableSession()"
nameWithType: "MessageSession.isBrowsableSession()"
modifiers:
- "protected"
overridden: "com.microsoft.azure.servicebus.MessageReceiver.isBrowsableSession()"
syntax: "protected boolean isBrowsableSession()"
returns:
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.MessageSession.isSessionReceiver()"
fullName: "com.microsoft.azure.servicebus.MessageSession.isSessionReceiver()"
name: "isSessionReceiver()"
nameWithType: "MessageSession.isSessionReceiver()"
modifiers:
- "protected"
- "final"
overridden: "com.microsoft.azure.servicebus.MessageReceiver.isSessionReceiver()"
syntax: "protected final boolean isSessionReceiver()"
returns:
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.MessageSession.renewSessionLock()"
fullName: "com.microsoft.azure.servicebus.MessageSession.renewSessionLock()"
name: "renewSessionLock()"
nameWithType: "MessageSession.renewSessionLock()"
summary: "Renews the lock on the session specified by the <xref uid=\"com.microsoft.azure.servicebus.IMessageSession.getSessionId()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessageSession#getSessionId()\"></xref>."
syntax: "public void renewSessionLock()"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html\">InterruptedException</a>"
- type: "<xref href=\"com.microsoft.azure.servicebus.primitives.ServiceBusException?alt=com.microsoft.azure.servicebus.primitives.ServiceBusException&text=ServiceBusException\" data-throw-if-not-resolved=\"False\" />"
desc: "Renews the lock on the session specified by the <xref uid=\"com.microsoft.azure.servicebus.IMessageSession.getSessionId()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessageSession#getSessionId()\"></xref>. The lock will be renewed based on the setting specified on the entity.\n\nWhen you accept a session, the session is locked for this client instance by the service for a duration as specified during the Queue/Subscription creation. If processing of the session requires longer than this duration, the session-lock needs to be renewed. For each renewal, the session-lock is renewed by the entity's LockDuration.\n\nRenewal of session renews all the messages in the session as well. Each individual message need not be renewed."
- uid: "com.microsoft.azure.servicebus.MessageSession.renewSessionLockAsync()"
fullName: "com.microsoft.azure.servicebus.MessageSession.renewSessionLockAsync()"
name: "renewSessionLockAsync()"
nameWithType: "MessageSession.renewSessionLockAsync()"
summary: "Renews the lock on the session specified by the <xref uid=\"com.microsoft.azure.servicebus.IMessageSession.getSessionId()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessageSession#getSessionId()\"></xref>."
syntax: "public CompletableFuture<Void> renewSessionLockAsync()"
desc: "Renews the lock on the session specified by the <xref uid=\"com.microsoft.azure.servicebus.IMessageSession.getSessionId()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessageSession#getSessionId()\"></xref>. The lock will be renewed based on the setting specified on the entity."
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
- uid: "com.microsoft.azure.servicebus.MessageSession.setState(byte[])"
fullName: "com.microsoft.azure.servicebus.MessageSession.setState(byte[] sessionState)"
name: "setState(byte[] sessionState)"
nameWithType: "MessageSession.setState(byte[] sessionState)"
summary: "Set a custom state on the session which can be later retrieved using <xref uid=\"com.microsoft.azure.servicebus.IMessageSession.getState()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessageSession#getState()\"></xref>."
parameters:
- name: "sessionState"
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public void setState(byte[] sessionState)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html\">InterruptedException</a>"
- type: "<xref href=\"com.microsoft.azure.servicebus.primitives.ServiceBusException?alt=com.microsoft.azure.servicebus.primitives.ServiceBusException&text=ServiceBusException\" data-throw-if-not-resolved=\"False\" />"
desc: "Set a custom state on the session which can be later retrieved using <xref uid=\"com.microsoft.azure.servicebus.IMessageSession.getState()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessageSession#getState()\"></xref>."
- uid: "com.microsoft.azure.servicebus.MessageSession.setStateAsync(byte[])"
fullName: "com.microsoft.azure.servicebus.MessageSession.setStateAsync(byte[] sessionState)"
name: "setStateAsync(byte[] sessionState)"
nameWithType: "MessageSession.setStateAsync(byte[] sessionState)"
summary: "Asynchronously set a custom state on the session which can be later retrieved using <xref uid=\"com.microsoft.azure.servicebus.IMessageSession.getState()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessageSession#getState()\"></xref>."
parameters:
- name: "sessionState"
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
syntax: "public CompletableFuture<Void> setStateAsync(byte[] sessionState)"
desc: "Asynchronously set a custom state on the session which can be later retrieved using <xref uid=\"com.microsoft.azure.servicebus.IMessageSession.getState()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"IMessageSession#getState()\"></xref>."
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html\">CompletableFuture</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>&gt;"
type: "class"
implements:
- "<xref href=\"com.microsoft.azure.servicebus.IMessageSession?alt=com.microsoft.azure.servicebus.IMessageSession&text=IMessageSession\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.azure.servicebus"
artifact: com.microsoft.azure:azure-servicebus:3.6.7