Skip to content

4.0.0 shows obsolete errors without any guidance after upgrading from 3.0.0 #566

@ramonsmits

Description

@ramonsmits

The following code results in an obsolete error:

var cfg = new ServiceBusTriggeredEndpointConfiguration(EndpointName);

The error is:

Error CS0619 'ServiceBusTriggeredEndpointConfiguration.ServiceBusTriggeredEndpointConfiguration(string)' is obsolete: 'The member currently throws a NotImplementedException. Will be removed in version 5.0.0.

This is the code that results in the obsolete:

[ObsoleteEx(
TreatAsErrorFromVersion = "4",
RemoveInVersion = "5")]
public ServiceBusTriggeredEndpointConfiguration(string endpointName)

No guidance is on the constructur but also not on the class itself:

public partial class ServiceBusTriggeredEndpointConfiguration

After further analysis it seems this is the guidance to resolve it:

https://docs.particular.net/nservicebus/upgrades/azure-functions-service-bus-in-process-1to2#registering-nservicebus-routing

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions