net9.0
namespace System.ServiceModel
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = false, Inherited = false)]
    public sealed class ServiceContractAttribute : Attribute
    {
        public string Namespace { get; set; }
    }
}
NetFx Compat Lab
24.2 %
Reference this API
2.3 %
Get property
23.5 %
Set property
nuget.org
0.6 %
Reference this API
0.0 %
Get property
Upgrade Planner
1.9 %
Reference this API
0.0 %
Get property
.NET 5.06.07.08.09.0
.NET Core 2.02.12.23.03.1
.NET Framework 3.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.02.1
Information specific to net9.0
Assembly

System.ServiceModel.Primitives , Version=8.1.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

Your project needs a package reference to System.ServiceModel.Primitives.

Package System.ServiceModel.Primitives (8.1.0) net8.0
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API

11/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙