You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [Event Hubs] Fix Snippet Syntax
The focus of these changes is to update the snippet syntax from the legacy
comment style (/*@@*/) to the compiler conditional for a few instances
that were overlooked in the initial migration. Riding along is a fix for
a merge error that snuck into the solution file.
* Fix some spacing issues...
Copy file name to clipboardExpand all lines: sdk/eventhub/Azure.Messaging.EventHubs.Processor/samples/Sample05_IdentityAndSharedAccessCredentials.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -262,18 +262,20 @@ In some scenarios, it may be preferable to supplement token-based authorization
262
262
This example illustrates parsing the fully qualified namespace and, optionally, the Event Hub name from the connection string and using it with identity-based authorization.
Copy file name to clipboardExpand all lines: sdk/eventhub/Azure.Messaging.EventHubs.Processor/tests/Snippets/Sample05_IdentityAndSharedAccessCredentialsLiveTests.cs
+17-14Lines changed: 17 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -309,26 +309,29 @@ public async Task ConnectionStringParse()
@@ -148,22 +148,22 @@ In some scenarios, it may be preferable to supplement token-based authorization
148
148
This example illustrates parsing the fully qualified namespace and, optionally, the Event Hub name from the connection string and using it with identity-based authorization.
Copy file name to clipboardExpand all lines: sdk/eventhub/Azure.Messaging.EventHubs/tests/Snippets/Sample06_IdentityAndSharedAccessCredentialsLiveTests.cs
+7-9Lines changed: 7 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
usingSystem;
5
5
usingSystem.Diagnostics.CodeAnalysis;
6
6
usingSystem.Threading.Tasks;
7
-
usingAzure.Core;
8
7
usingAzure.Identity;
9
8
usingAzure.Messaging.EventHubs.Authorization;
10
9
usingAzure.Messaging.EventHubs.Producer;
@@ -49,7 +48,7 @@ public async Task DefaultAzureCredential()
0 commit comments