azure-storage-queue\src\Queue\Models\QueueMessage.php
LICENSE: The MIT License (the "License")
you may not use this file except in compliance with the License.
You may obtain a copy of the License at https://github.com/azure/azure-storage-php/LICENSE
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
PHP version 5
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2016 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
- Package
- MicrosoftAzure\Storage\Queue\Models
\MicrosoftAzure\Storage\Queue\Models\QueueMessage
Package: MicrosoftAzure\Storage\Queue\Models



Holds data for single queue message.
- Author
- Azure Storage PHP SDK
- Category
- Microsoft
- Copyright
- 2016 Microsoft Corporation
- License
- https://github.com/azure/azure-storage-php/LICENSE
- Link
- https://github.com/azure/azure-storage-php
Methods

setExpirationDate(\DateTime $expirationDate) : voidSets expirationDate field.
Parameters
| Name | Type | Description |
|---|---|---|
| $expirationDate | \DateTime | the expiration date of the message. |

setMessageId(string $messageId) : voidSets messageId field.
Parameters
| Name | Type | Description |
|---|---|---|
| $messageId | string | message contents. |

setMessageText(string $messageText) : voidSets message text field.
Parameters
| Name | Type | Description |
|---|---|---|
| $messageText | string | message contents. |

setPopReceipt(string $popReceipt) : voidSets popReceipt field.
Parameters
| Name | Type | Description |
|---|---|---|
| $popReceipt | string | used when deleting the message. |