We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 241ce37 + 7ac3997 commit 82b2714Copy full SHA for 82b2714
src/ServiceManagement/Sql/Commands.SqlDatabase/Services/Server/ServerDataService.cs
@@ -41,7 +41,12 @@ public abstract class ServerDataServiceContext : ServerContextInternal
41
protected ServerDataServiceContext(Uri serviceUri)
42
: base(serviceUri)
43
{
44
+
45
+#pragma warning disable 618
46
+ // SendingRequest has been deprecated in favor of SendingRequest2, but SendingRequest2 does not
47
+ // currently expose functionality we depend on, such as the ability to set UserAgent.
48
this.SendingRequest += new EventHandler<SendingRequestEventArgs>(this.BeforeSendingRequest);
49
+#pragma warning restore 618
50
51
// Set the default timeout for the context.
52
this.Timeout = DefaultDataServiceContextTimeoutInSeconds;
0 commit comments