Skip to content

Commit 949111b

Browse files
committed
Edits
1 parent ac60fb6 commit 949111b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/storage/queues/storage-dotnet-how-to-use-queues.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ queue.CreateIfNotExists();
224224

225225
# [\.NET v12](#tab/dotnet)
226226

227-
To insert a message into an existing queue, call the [SendMessage](/dotnet/api/azure.storage.queues.queueclient.sendmessage) method. A can be either a `string` (in UTF-8 format) or a `byte` array. Here is code which creates a queue (if it doesn't exist) and inserts the message "Hello, World":
227+
To insert a message into an existing queue, call the [SendMessage](/dotnet/api/azure.storage.queues.queueclient.sendmessage) method. A message can be either a `string` (in UTF-8 format) or a `byte` array. The following code creates a queue (if it doesn't exist) and inserts a message:
228228

229229
:::code language="csharp" source="~/azure-storage-snippets/queues/howto/dotnet/dotnet-v12/QueueBasics.cs" id="snippet_InsertMessage":::
230230

@@ -257,7 +257,7 @@ queue.AddMessage(message);
257257

258258
# [\.NET v12](#tab/dotnet)
259259

260-
You can peek at the messages in the queue without removing them from the queue by calling the [PeekMessages](/dotnet/api/azure.storage.queues.queueclient.peekmessages) method. If you don't pass a value for the *maxResults* parameter, the default is to peek at one message.
260+
You can peek at the messages in the queue without removing them from the queue by calling the [PeekMessages](/dotnet/api/azure.storage.queues.queueclient.peekmessages) method. If you don't pass a value for the *maxMessages* parameter, the default is to peek at one message.
261261

262262
:::code language="csharp" source="~/azure-storage-snippets/queues/howto/dotnet/dotnet-v12/QueueBasics.cs" id="snippet_PeekMessage":::
263263

0 commit comments

Comments
 (0)