你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

UpdateMessageResult Class

  • java.lang.Object
    • com.azure.storage.queue.models.UpdateMessageResult

public final class UpdateMessageResult

Response from the service when updating a message. Contains the information needed to continue working with the specific message.

Constructor Summary

Constructor Description
UpdateMessageResult(String popReceipt, OffsetDateTime timeNextVisible)

Creates an instance of updated message information.

Method Summary

Modifier and Type Method and Description
String getPopReceipt()

Get the unique identifier used to verify that the operation is allowed on the message.

OffsetDateTime getTimeNextVisible()

Get the next time the message will be visible to other operations in the queue.

Methods inherited from java.lang.Object

Constructor Details

UpdateMessageResult

public UpdateMessageResult(String popReceipt, OffsetDateTime timeNextVisible)

Creates an instance of updated message information.

Parameters:

popReceipt - Unique identifier that verifies the operation on a message is valid
timeNextVisible - The next time the message will be visible to other operations in the queue

Method Details

getPopReceipt

public String getPopReceipt()

Get the unique identifier used to verify that the operation is allowed on the message.

Returns:

the unique identifier used to verify that the operation is allowed on the message

getTimeNextVisible

public OffsetDateTime getTimeNextVisible()

Get the next time the message will be visible to other operations in the queue.

Returns:

the next time the message will be visible to other operations in the queue

Applies to