From 0260413fd2c1a39a03100931a4cea9c7b11dd85e Mon Sep 17 00:00:00 2001 From: SzymonPobiega Date: Thu, 13 Jul 2017 06:28:25 +0200 Subject: [PATCH] Approved API --- .../APIApprovals.Approve.approved.txt | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/NServiceBus.SqlServer.UnitTests/APIApprovals.Approve.approved.txt b/src/NServiceBus.SqlServer.UnitTests/APIApprovals.Approve.approved.txt index 14fe98d43..9863476c8 100644 --- a/src/NServiceBus.SqlServer.UnitTests/APIApprovals.Approve.approved.txt +++ b/src/NServiceBus.SqlServer.UnitTests/APIApprovals.Approve.approved.txt @@ -17,19 +17,23 @@ namespace NServiceBus.Transport.SQLServer.ConnectionStrings public class ConnectionInfo { public ConnectionInfo() { } - [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`, to specify connection string use `EnableLegacyMultiInstanceMode()`. Will be treated as an error from version 3.0.0. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", false)] + [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`, to specify connection string use `EnableLegacyMultiInstanceMode()`. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", true)] public static NServiceBus.Transport.SQLServer.ConnectionStrings.ConnectionInfo Create() { } - [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify connection string use `EnableLegacyMultiInstanceMode()`. Will be treated as an error from version 3.0.0. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", false)] + [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify connection string use `EnableLegacyMultiInstanceMode()`. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", true)] public NServiceBus.Transport.SQLServer.ConnectionStrings.ConnectionInfo UseConnectionString(string connectionString) { } - [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`. Will be treated as an error from version 3.0.0. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", false)] + [System.ObsoleteAttribute("Multi-instance setup is supported for backwards compatibility and won\'t be suppor" + + "ted from Version 4.0. To specify schema use `UseSpecificSchema()`. The member cu" + + "rrently throws a NotImplementedException. Will be removed in version 4.0.0.", true)] public NServiceBus.Transport.SQLServer.ConnectionStrings.ConnectionInfo UseSchema(string schemaName) { } } public class EndpointConnectionInfo { public EndpointConnectionInfo() { } - [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`, to specify connection string use `EnableLegacyMultiInstanceMode()`. Will be treated as an error from version 3.0.0. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", false)] + [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`, to specify connection string use `EnableLegacyMultiInstanceMode()`. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", true)] public static NServiceBus.Transport.SQLServer.ConnectionStrings.EndpointConnectionInfo For(string endpoint) { } - [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`. Will be treated as an error from version 3.0.0. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", false)] + [System.ObsoleteAttribute("Multi-instance setup is supported for backwards compatibility and won\'t be suppor" + + "ted from Version 4.0. To specify schema use `UseSpecificSchema()`. The member cu" + + "rrently throws a NotImplementedException. Will be removed in version 4.0.0.", true)] public NServiceBus.Transport.SQLServer.ConnectionStrings.EndpointConnectionInfo UseSchema(string schemaName) { } } } @@ -57,22 +61,19 @@ namespace NServiceBus.Transport.SQLServer } public class static SqlServerTransportSettingsExtensions { - [System.ObsoleteAttribute("Replaced by NServiceBus.Callbacks package. Will be treated as an error from versi" + - "on 3.0.0. The member currently throws a NotImplementedException. Will be removed" + - " in version 4.0.0.", false)] + [System.ObsoleteAttribute("Replaced by NServiceBus.Callbacks package. The member currently throws a NotImple" + + "mentedException. Will be removed in version 4.0.0.", true)] public static NServiceBus.TransportExtensions CallbackReceiverMaxConcurrency(this NServiceBus.TransportExtensions transportExtensions, int maxConcurrency) { } public static NServiceBus.TransportExtensions DefaultSchema(this NServiceBus.TransportExtensions transportExtensions, string schemaName) { } - [System.ObsoleteAttribute("Replaced by NServiceBus.Callbacks package. Will be treated as an error from versi" + - "on 3.0.0. The member currently throws a NotImplementedException. Will be removed" + - " in version 4.0.0.", false)] + [System.ObsoleteAttribute("Replaced by NServiceBus.Callbacks package. The member currently throws a NotImple" + + "mentedException. Will be removed in version 4.0.0.", true)] public static NServiceBus.TransportExtensions DisableCallbackReceiver(this NServiceBus.TransportExtensions transportExtensions) { } [System.ObsoleteAttribute("Multi-instance mode has been deprecated and is no longer a recommended model of d" + "eployment. Please refer to documentation for more details. Will be treated as an" + " error from version 4.0.0. Will be removed in version 4.0.0.", false)] public static NServiceBus.TransportExtensions EnableLegacyMultiInstanceMode(this NServiceBus.TransportExtensions transportExtensions, System.Func> sqlConnectionFactory) { } - [System.ObsoleteAttribute("That config option is no longer supported. Will be treated as an error from versi" + - "on 3.0.0. The member currently throws a NotImplementedException. Will be removed" + - " in version 4.0.0.", false)] + [System.ObsoleteAttribute("That config option is no longer supported. The member currently throws a NotImple" + + "mentedException. Will be removed in version 4.0.0.", true)] public static NServiceBus.TransportExtensions PauseAfterReceiveFailure(this NServiceBus.TransportExtensions transportExtensions, System.TimeSpan delayTime) { } public static NServiceBus.TransportExtensions TimeToWaitBeforeTriggeringCircuitBreaker(this NServiceBus.TransportExtensions transportExtensions, System.TimeSpan waitTime) { } public static NServiceBus.TransportExtensions TransactionScopeOptions(this NServiceBus.TransportExtensions transportExtensions, System.Nullable timeout = null, System.Nullable isolationLevel = null) { } @@ -82,11 +83,11 @@ namespace NServiceBus.Transport.SQLServer public static NServiceBus.Transport.SQLServer.DelayedDeliverySettings UseNativeDelayedDelivery(this NServiceBus.TransportExtensions transportExtensions) { } public static NServiceBus.TransportExtensions UseSchemaForEndpoint(this NServiceBus.TransportExtensions transportExtensions, string endpointName, string schema) { } public static NServiceBus.TransportExtensions UseSchemaForQueue(this NServiceBus.TransportExtensions transportExtensions, string queueName, string schema) { } - [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`, to specify connection string use `EnableLegacyMultiInstanceMode()`. Will be treated as an error from version 3.0.0. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", false)] + [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`, to specify connection string use `EnableLegacyMultiInstanceMode()`. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", true)] public static NServiceBus.TransportExtensions UseSpecificConnectionInformation(this NServiceBus.TransportExtensions transportExtensions, System.Collections.Generic.IEnumerable connectionInformationCollection) { } - [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify connection string use `EnableLegacyMultiInstanceMode()`. Will be treated as an error from version 3.0.0. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", false)] + [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify connection string use `EnableLegacyMultiInstanceMode()`. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", true)] public static NServiceBus.TransportExtensions UseSpecificConnectionInformation(this NServiceBus.TransportExtensions transportExtensions, params NServiceBus.Transport.SQLServer.ConnectionStrings.EndpointConnectionInfo[] connectionInformationCollection) { } - [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`, to specify connection string use `EnableLegacyMultiInstanceMode()`. Will be treated as an error from version 3.0.0. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", false)] + [System.ObsoleteAttribute(@"Multi-instance setup is supported for backwards compatibility and won't be supported from Version 4.0. To specify schema use `UseSpecificSchema()`, to specify connection string use `EnableLegacyMultiInstanceMode()`. The member currently throws a NotImplementedException. Will be removed in version 4.0.0.", true)] public static NServiceBus.TransportExtensions UseSpecificConnectionInformation(this NServiceBus.TransportExtensions transportExtensions, System.Func connectionInformationProvider) { } public static NServiceBus.TransportExtensions WithPeekDelay(this NServiceBus.TransportExtensions transportExtensions, System.Nullable delay = null) { } }